From 14c9cd2ccd09e3f1ce8b6a4659556bbb41b971fb Mon Sep 17 00:00:00 2001 From: Wilson Fung Date: Wed, 22 Feb 2012 05:52:04 -0800 Subject: Adding option 'gpgpu_simt_core_sim_order' which allow the user to specify the order in which cores are simulator per cycle. Also adding support for calling function with empty parameter list. [git-p4: depot-paths = "//depot/gpgpu_sim_research/fermi/distribution/": change = 11489] --- src/gpgpu-sim/shader.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/gpgpu-sim/shader.h') diff --git a/src/gpgpu-sim/shader.h b/src/gpgpu-sim/shader.h index 1d86f02..759a58b 100644 --- a/src/gpgpu-sim/shader.h +++ b/src/gpgpu-sim/shader.h @@ -985,6 +985,8 @@ struct shader_core_config : public core_config unsigned n_simt_clusters; unsigned n_simt_ejection_buffer_size; unsigned ldst_unit_response_queue_size; + + int simt_core_sim_order; unsigned mem2device(unsigned memid) const { return memid + n_simt_clusters; } }; @@ -1275,6 +1277,7 @@ private: shader_core_ctx **m_core; unsigned m_cta_issue_next_core; + std::list m_core_sim_order; std::list m_response_fifo; }; -- cgit v1.3