summaryrefslogtreecommitdiff
path: root/src/abstract_hardware_model.h
diff options
context:
space:
mode:
authorTor Aamodt <[email protected]>2010-08-08 07:20:16 -0800
committerTor Aamodt <[email protected]>2010-08-08 07:20:16 -0800
commit6ef41cd4671ebb8d79d3b8a2cdb33b518ec2e6cf (patch)
treee8787bd962f204c677e789dc81aa6034c7409c9e /src/abstract_hardware_model.h
parent34f6823f1ca28a0e99cd810061bbbf833f803b9c (diff)
refactoring: start moving prototypes into headers
[git-p4: depot-paths = "//depot/gpgpu_sim_research/fermi/distribution/": change = 7164]
Diffstat (limited to 'src/abstract_hardware_model.h')
-rw-r--r--src/abstract_hardware_model.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/abstract_hardware_model.h b/src/abstract_hardware_model.h
index 3b3d07e..612c46d 100644
--- a/src/abstract_hardware_model.h
+++ b/src/abstract_hardware_model.h
@@ -3,6 +3,12 @@
#ifdef __cplusplus
+#if !defined(__VECTOR_TYPES_H__)
+struct dim3 {
+ unsigned int x, y, z;
+};
+#endif
+
class core_t {
public:
virtual ~core_t() {}