diff options
| author | Ahmed El-Shafiey <[email protected]> | 2012-11-30 23:07:40 -0800 |
|---|---|---|
| committer | Andrew Boktor <[email protected]> | 2014-08-14 13:49:22 -0700 |
| commit | a4e786e7ba32deb2877722650a907ccdb1bef096 (patch) | |
| tree | ad16af8eb995fcd05b3eda579284e192ea9cb6a3 /src/gpgpu-sim/gpu-sim.h | |
| parent | aab87f149f7442d1447cbb82cc6290d185a56aa5 (diff) | |
fixing a segfault problem for Quadro config with interconnect stats
[git-p4: depot-paths = "//depot/gpgpu_sim_research/fermi/distribution/": change = 14737]
Diffstat (limited to 'src/gpgpu-sim/gpu-sim.h')
| -rw-r--r-- | src/gpgpu-sim/gpu-sim.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/gpgpu-sim/gpu-sim.h b/src/gpgpu-sim/gpu-sim.h index 7866688..98f719f 100644 --- a/src/gpgpu-sim/gpu-sim.h +++ b/src/gpgpu-sim/gpu-sim.h @@ -302,6 +302,7 @@ public: } unsigned num_shader() const { return m_shader_config.num_shader(); } + unsigned num_cluster() const { return m_shader_config.n_simt_clusters; } unsigned get_max_concurrent_kernel() const { return max_concurrent_kernel; } private: |
