diff options
| author | Mengchi Zhang <[email protected]> | 2019-07-08 15:45:05 -0400 |
|---|---|---|
| committer | Mengchi Zhang <[email protected]> | 2019-07-08 15:45:05 -0400 |
| commit | 8f6668941cf2728dba9700e45f11f61401a1fcf4 (patch) | |
| tree | 91527bc9053638117506a5caa2694294e796e67c /src/abstract_hardware_model.h | |
| parent | 7c13f6c7cc7fd598b268810c903983b79606f3ca (diff) | |
Move g_ptx_sim_num_insn
Signed-off-by: Mengchi Zhang <[email protected]>
Diffstat (limited to 'src/abstract_hardware_model.h')
| -rw-r--r-- | src/abstract_hardware_model.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/abstract_hardware_model.h b/src/abstract_hardware_model.h index 68cb693..da29a11 100644 --- a/src/abstract_hardware_model.h +++ b/src/abstract_hardware_model.h @@ -31,6 +31,8 @@ // Forward declarations class gpgpu_sim; class kernel_info_t; +class gpgpu_context; + //Set a hard limit of 32 CTAs per shader [cuda only has 8] #define MAX_CTA_PER_SHADER 32 @@ -529,7 +531,9 @@ private: class gpgpu_t { public: - gpgpu_t( const gpgpu_functional_sim_config &config ); + gpgpu_t( const gpgpu_functional_sim_config &config, gpgpu_context* ctx ); + // backward pointer + class gpgpu_context* gpgpu_ctx; int checkpoint_option; int checkpoint_kernel; int checkpoint_CTA; |
