summaryrefslogtreecommitdiff
path: root/src/gpgpu-sim/gpu-sim.h
diff options
context:
space:
mode:
authorMahmoud <[email protected]>2019-06-05 19:18:29 -0400
committerMahmoud <[email protected]>2019-06-05 19:18:29 -0400
commit37a709bb69fcd9f2b0fe53a189e92e548164cc4b (patch)
tree0a265a1adccf68a02c65ca13873bdfced1d3af4a /src/gpgpu-sim/gpu-sim.h
parentdc1d8114a3088de791833c336a2d2484a00a361f (diff)
adding new cuda 9 APIs to run the deepbench workloads
Diffstat (limited to 'src/gpgpu-sim/gpu-sim.h')
-rw-r--r--src/gpgpu-sim/gpu-sim.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/gpgpu-sim/gpu-sim.h b/src/gpgpu-sim/gpu-sim.h
index c8dad89..7336cac 100644
--- a/src/gpgpu-sim/gpu-sim.h
+++ b/src/gpgpu-sim/gpu-sim.h
@@ -455,6 +455,8 @@ public:
int num_registers_per_block() const;
int wrp_size() const;
int shader_clock() const;
+ int max_cta_per_core() const;
+ int get_max_cta( const kernel_info_t &k ) const;
const struct cudaDeviceProp *get_prop() const;
enum divergence_support_t simd_model() const;