diff options
| author | Tor Aamodt <[email protected]> | 2010-08-23 09:39:43 -0800 |
|---|---|---|
| committer | Tor Aamodt <[email protected]> | 2010-08-23 09:39:43 -0800 |
| commit | 5e8eced64a8262b0190c4014e59b93c37ba3af9c (patch) | |
| tree | 45cbf2cc87a2671c86548d645ef982f6b68373b3 /src/gpgpu-sim/dwf.cc | |
| parent | 83a96bb39177a0767c6d851f4fe3ff92757652f5 (diff) | |
- 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]
Diffstat (limited to 'src/gpgpu-sim/dwf.cc')
| -rw-r--r-- | src/gpgpu-sim/dwf.cc | 6 |
1 files changed, 2 insertions, 4 deletions
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; |
