summaryrefslogtreecommitdiff
path: root/src/intersim/routefunc.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/routefunc.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/routefunc.hpp')
-rw-r--r--src/intersim/routefunc.hpp14
1 files changed, 14 insertions, 0 deletions
diff --git a/src/intersim/routefunc.hpp b/src/intersim/routefunc.hpp
new file mode 100644
index 0000000..e82c105
--- /dev/null
+++ b/src/intersim/routefunc.hpp
@@ -0,0 +1,14 @@
+#ifndef _ROUTEFUNC_HPP_
+#define _ROUTEFUNC_HPP_
+
+#include "flit.hpp"
+#include "router.hpp"
+#include "outputset.hpp"
+#include "config_utils.hpp"
+
+typedef void (*tRoutingFunction)( const Router *, const Flit *, int in_channel, OutputSet *, bool );
+
+void InitializeRoutingMap( );
+tRoutingFunction GetRoutingFunction( const Configuration& config );
+
+#endif