summaryrefslogtreecommitdiff
path: root/src/gpgpu-sim/gpu-sim.h
diff options
context:
space:
mode:
authorMengchi Zhang <[email protected]>2019-07-09 15:34:59 -0400
committerGitHub <[email protected]>2019-07-09 15:34:59 -0400
commit460e779f45faa545c263e2d3316935b9fc083876 (patch)
tree8d7a8fb41bfebf528f0f1a9d7c3011bca9de1c4d /src/gpgpu-sim/gpu-sim.h
parent109a03655326ed23d26a3496589b21be51089bbb (diff)
parentb3655bf28a7402db347f9d7f87049806b9315a05 (diff)
Merge pull request #23 from echoedit/dev
Dev
Diffstat (limited to 'src/gpgpu-sim/gpu-sim.h')
-rw-r--r--src/gpgpu-sim/gpu-sim.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/gpgpu-sim/gpu-sim.h b/src/gpgpu-sim/gpu-sim.h
index 7eeb7dd..119b934 100644
--- a/src/gpgpu-sim/gpu-sim.h
+++ b/src/gpgpu-sim/gpu-sim.h
@@ -62,6 +62,8 @@
#define SAMPLELOG 222
#define DUMPLOG 333
+class gpgpu_context;
+
extern tr1_hash_map<new_addr_type,unsigned> address_random_interleaving;
enum dram_ctrl_t {
@@ -494,6 +496,8 @@ public:
*/
simt_core_cluster * getSIMTCluster();
+ // backward pointer
+ class gpgpu_context* gpgpu_ctx;
private:
// clocks
@@ -511,8 +515,6 @@ private:
void gpgpu_debug();
///// data /////
-// backward pointer
- class gpgpu_context* gpgpu_ctx;
class simt_core_cluster **m_cluster;
class memory_partition_unit **m_memory_partition_unit;