summaryrefslogtreecommitdiff
path: root/src/gpgpu-sim/shader.h
diff options
context:
space:
mode:
authorAndrew M. B. Boktor <[email protected]>2012-05-04 18:42:17 -0800
committerAndrew Boktor <[email protected]>2014-08-14 13:19:37 -0700
commit7e23577fe997273766523afcd49c36d0f8dcd85d (patch)
tree711f9c29d2428d028a8f52e34646ed23d6747abe /src/gpgpu-sim/shader.h
parent458fa169dd4e351288435fae618743fc50edcf90 (diff)
Adding configurable instruction latencies and initiation intervals
The observed latencies are reduced by 5 to account for other stages in the SM pipeline Eventually this should be calibrated against the microbenchmarks [git-p4: depot-paths = "//depot/gpgpu_sim_research/fermi/distribution/": change = 12310]
Diffstat (limited to 'src/gpgpu-sim/shader.h')
-rw-r--r--src/gpgpu-sim/shader.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gpgpu-sim/shader.h b/src/gpgpu-sim/shader.h
index 5d6aa86..571a4b9 100644
--- a/src/gpgpu-sim/shader.h
+++ b/src/gpgpu-sim/shader.h
@@ -956,7 +956,7 @@ struct shader_core_config : public core_config
}
max_warps_per_shader = n_thread_per_shader/warp_size;
assert( !(n_thread_per_shader % warp_size) );
- max_sfu_latency = 32;
+ max_sfu_latency = 512;
max_sp_latency = 32;
m_L1I_config.init();
m_L1T_config.init();
@@ -1275,7 +1275,7 @@ private:
std::vector<pipeline_stage_name_t> m_issue_port;
std::vector<simd_function_unit*> m_fu; // stallable pipelines should be last in this array
ldst_unit *m_ldst_unit;
- static const unsigned MAX_ALU_LATENCY = 64;
+ static const unsigned MAX_ALU_LATENCY = 512;
std::bitset<MAX_ALU_LATENCY> m_result_bus;
// used for local address mapping with single kernel launch