summaryrefslogtreecommitdiff
path: root/src/gpgpu-sim
diff options
context:
space:
mode:
authorAndrew M. B. Boktor <[email protected]>2012-02-24 15:58:35 -0800
committerAndrew Boktor <[email protected]>2014-08-14 13:19:03 -0700
commitd304605aa6a63dc68112936006df722003a6ebc3 (patch)
treed300f98eb1701479c67a869f8f317474b3a5164b /src/gpgpu-sim
parent48837eed737b393ecf412e558643c195af6af468 (diff)
Changes needed for the new fermi configs to work.
[git-p4: depot-paths = "//depot/gpgpu_sim_research/fermi/distribution/": change = 11511]
Diffstat (limited to 'src/gpgpu-sim')
-rw-r--r--src/gpgpu-sim/shader.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gpgpu-sim/shader.h b/src/gpgpu-sim/shader.h
index 759a58b..fbecac3 100644
--- a/src/gpgpu-sim/shader.h
+++ b/src/gpgpu-sim/shader.h
@@ -239,7 +239,7 @@ private:
inline unsigned hw_tid_from_wid(unsigned wid, unsigned warp_size, unsigned i){return wid * warp_size + i;};
inline unsigned wid_from_hw_tid(unsigned tid, unsigned warp_size){return tid/warp_size;};
-const unsigned WARP_PER_CTA_MAX = 32;
+const unsigned WARP_PER_CTA_MAX = 48;
typedef std::bitset<WARP_PER_CTA_MAX> warp_set_t;
int register_bank(int regnum, int wid, unsigned num_banks, unsigned bank_warp_shift);