summaryrefslogtreecommitdiff
path: root/src/gpgpu-sim/icnt_wrapper.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/gpgpu-sim/icnt_wrapper.h')
-rw-r--r--src/gpgpu-sim/icnt_wrapper.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/gpgpu-sim/icnt_wrapper.h b/src/gpgpu-sim/icnt_wrapper.h
index 2cbe0df..a4d123e 100644
--- a/src/gpgpu-sim/icnt_wrapper.h
+++ b/src/gpgpu-sim/icnt_wrapper.h
@@ -32,6 +32,7 @@
// functional interface to the interconnect
+typedef void (*icnt_create_p)(unsigned n_shader, unsigned n_mem);
typedef void (*icnt_init_p)( );
typedef bool (*icnt_has_buffer_p)(unsigned input, unsigned int size);
typedef void (*icnt_push_p)(unsigned input, unsigned output, void* data, unsigned int size);
@@ -44,7 +45,7 @@ typedef void (*icnt_display_overall_stats_p)( );
typedef void (*icnt_display_state_p)(FILE* fp);
typedef unsigned (*icnt_get_flit_size_p)();
-
+extern icnt_create_p icnt_create;
extern icnt_init_p icnt_init;
extern icnt_has_buffer_p icnt_has_buffer;
extern icnt_push_p icnt_push;
@@ -63,7 +64,7 @@ enum network_mode {
N_NETWORK_MODE
};
-void icnt_wrapper_init( unsigned int n_shader, unsigned int n_mem );
+void icnt_wrapper_init();
void icnt_reg_options( class OptionParser * opp );
#endif