summaryrefslogtreecommitdiff
path: root/src/intersim/pim.hpp
diff options
context:
space:
mode:
authorTor Aamodt <[email protected]>2010-07-15 18:09:46 -0800
committerTor Aamodt <[email protected]>2010-07-15 18:09:46 -0800
commit69f2911e04ffb1b19eef1fafb8c040af271f656e (patch)
tree231d3b6bdc3a202f7c255bfcf7bf2c36e32cee9e /src/intersim/pim.hpp
creating branch for adding support for CUDA 3.x and Fermi
[git-p4: depot-paths = "//depot/gpgpu_sim_research/fermi/distribution/": change = 6829]
Diffstat (limited to 'src/intersim/pim.hpp')
-rw-r--r--src/intersim/pim.hpp20
1 files changed, 20 insertions, 0 deletions
diff --git a/src/intersim/pim.hpp b/src/intersim/pim.hpp
new file mode 100644
index 0000000..1ce5535
--- /dev/null
+++ b/src/intersim/pim.hpp
@@ -0,0 +1,20 @@
+#ifndef _PIM_HPP_
+#define _PIM_HPP_
+
+#include "allocator.hpp"
+
+class PIM : public DenseAllocator {
+ int _PIM_iter;
+
+ int *_grants;
+public:
+ PIM( const Configuration &config,
+ Module *parent, const string& name,
+ int inputs, int outputs );
+
+ ~PIM( );
+
+ void Allocate( );
+};
+
+#endif