From 5e8eced64a8262b0190c4014e59b93c37ba3af9c Mon Sep 17 00:00:00 2001 From: Tor Aamodt Date: Mon, 23 Aug 2010 09:39:43 -0800 Subject: - add '-keep' option to keep intermediate files (used for OpenCL only right now) - remove redundant initialization code of options (which confuses new users) - make bool option variables bool type - remove some more extern decls [git-p4: depot-paths = "//depot/gpgpu_sim_research/fermi/distribution/": change = 7247] --- src/gpgpu-sim/dwf.cc | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'src/gpgpu-sim/dwf.cc') diff --git a/src/gpgpu-sim/dwf.cc b/src/gpgpu-sim/dwf.cc index 0cad2b6..7c5305c 100644 --- a/src/gpgpu-sim/dwf.cc +++ b/src/gpgpu-sim/dwf.cc @@ -74,8 +74,8 @@ using namespace std; -unsigned int gpgpu_dwf_regbk = 1; -unsigned int gpgpu_dwf_heuristic = 0; +bool gpgpu_dwf_regbk; +unsigned int gpgpu_dwf_heuristic; enum { MAJORITY = 0, MINORITY = 1, @@ -2322,8 +2322,6 @@ void g_print_max_heap(int sid) { #undef UNIT_TEST #include "stat-tool.cc" -unsigned gpgpu_thread_swizzling = 0; - int regfile_hash(signed istream_number, unsigned simd_size, unsigned n_banks) { if (gpgpu_thread_swizzling) { signed warp_ID = istream_number / simd_size; -- cgit v1.3