diff options
| author | Mengchi Zhang <[email protected]> | 2019-07-09 15:34:59 -0400 |
|---|---|---|
| committer | GitHub <[email protected]> | 2019-07-09 15:34:59 -0400 |
| commit | 460e779f45faa545c263e2d3316935b9fc083876 (patch) | |
| tree | 8d7a8fb41bfebf528f0f1a9d7c3011bca9de1c4d /src/abstract_hardware_model.h | |
| parent | 109a03655326ed23d26a3496589b21be51089bbb (diff) | |
| parent | b3655bf28a7402db347f9d7f87049806b9315a05 (diff) | |
Merge pull request #23 from echoedit/dev
Dev
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; |
