summaryrefslogtreecommitdiff
path: root/src/gpgpu-sim
diff options
context:
space:
mode:
authortgrogers <[email protected]>2014-10-10 11:19:09 -0700
committertgrogers <[email protected]>2014-10-10 11:19:09 -0700
commit84fe1b186ef98c8820efe4a75553a5bb32b9c097 (patch)
tree0071270684430d5b5a38c679798bdc6724d06951 /src/gpgpu-sim
parent1757433af06e3541f17c22afa59f4a096a96f4b4 (diff)
parent540871e0107d19a069d8b574516190445e6b54c6 (diff)
Merge pull request #4 from qqldd/upstream_master
Add .gitignore file to ignore files generated after building + some MAC compilation issues,
Diffstat (limited to 'src/gpgpu-sim')
-rw-r--r--src/gpgpu-sim/shader.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gpgpu-sim/shader.h b/src/gpgpu-sim/shader.h
index cf7160f..1aa468b 100644
--- a/src/gpgpu-sim/shader.h
+++ b/src/gpgpu-sim/shader.h
@@ -1331,7 +1331,7 @@ struct shader_core_config : public core_config
struct shader_core_stats_pod {
- void* shader_core_stats_pod_start[]; // DO NOT MOVE FROM THE TOP - spaceless pointer to the start of this structure
+ void* shader_core_stats_pod_start[0]; // DO NOT MOVE FROM THE TOP - spaceless pointer to the start of this structure
unsigned long long *shader_cycles;
unsigned *m_num_sim_insn; // number of scalar thread instructions committed by this shader core
unsigned *m_num_sim_winsn; // number of warp instructions committed by this shader core