From 11b308e7363e937966b035b4891db32b4eece3bf Mon Sep 17 00:00:00 2001 From: Tor Aamodt Date: Fri, 1 Oct 2010 08:55:28 -0800 Subject: integrating recent changes from fermi-test into fermi (i'll use "fermi" for more disruptive changes to the pipeline model such as updating the MSHRs and getting rid of the warp tracker, ripping out DWF, etc...) [git-p4: depot-paths = "//depot/gpgpu_sim_research/fermi/distribution/": change = 7805] --- .../CUDA/CP/common/python/binaryfilecompare.py | 50 ---------------------- 1 file changed, 50 deletions(-) delete mode 100644 benchmarks/CUDA/CP/common/python/binaryfilecompare.py (limited to 'benchmarks/CUDA/CP/common/python/binaryfilecompare.py') diff --git a/benchmarks/CUDA/CP/common/python/binaryfilecompare.py b/benchmarks/CUDA/CP/common/python/binaryfilecompare.py deleted file mode 100644 index b143b68..0000000 --- a/benchmarks/CUDA/CP/common/python/binaryfilecompare.py +++ /dev/null @@ -1,50 +0,0 @@ -# (c) Copyright 2007 The Board of Trustees of the University of Illinois. - -import struct - -def uint16(f): - """Read a 16-bit unsigned integer from f.""" - [c, c2] = f.read(2) - return ord(c) + (ord(c2) << 8) - -def uint32(f): - """Read a 32-bit unsigned integer from f.""" - [c, c2, c3, c4] = f.read(4) - return ord(c) + (ord(c2) << 8) + (ord(c3) << 16) + (ord(c4) << 24) - -def float(f): - """Read a floating-point number from f.""" - s = f.read(4) - (n,) = struct.unpack("