summaryrefslogtreecommitdiff
path: root/src/intersim/interconnect_interface.h
diff options
context:
space:
mode:
authorTor Aamodt <[email protected]>2010-10-01 08:55:28 -0800
committerTor Aamodt <[email protected]>2010-10-01 08:55:28 -0800
commit11b308e7363e937966b035b4891db32b4eece3bf (patch)
tree50ca4c9ad6f163ac4acb2bf505e64dfebed66947 /src/intersim/interconnect_interface.h
parentbb820c116764d7a1b8e071137d32b74e7f34dd2f (diff)
integrating recent changes from fermi-test into fermi
(i'll use "fermi" for more disruptive changes to the pipeline model such as updating the MSHRs and getting rid of the warp tracker, ripping out DWF, etc...) [git-p4: depot-paths = "//depot/gpgpu_sim_research/fermi/distribution/": change = 7805]
Diffstat (limited to 'src/intersim/interconnect_interface.h')
-rw-r--r--src/intersim/interconnect_interface.h12
1 files changed, 9 insertions, 3 deletions
diff --git a/src/intersim/interconnect_interface.h b/src/intersim/interconnect_interface.h
index 541f992..3e3826d 100644
--- a/src/intersim/interconnect_interface.h
+++ b/src/intersim/interconnect_interface.h
@@ -13,12 +13,14 @@ struct glue_buf {
};
//node side functions
-int interconnect_has_buffer(unsigned int input, unsigned int *size);
+int interconnect_has_buffer(unsigned int input, unsigned int size);
void interconnect_push ( unsigned int input, unsigned int output,
void* data, unsigned int size);
void* interconnect_pop(unsigned int output);
-void init_interconnect (char* config_file,
- unsigned int n_shader, unsigned int n_mem);
+void init_interconnect (char* config_file,
+ unsigned int n_shader,
+ unsigned int n_mem,
+ struct shader_core_config *shader_config);
void advance_interconnect();
unsigned interconnect_busy();
void interconnect_stats() ;
@@ -30,6 +32,10 @@ void write_out_buf(int output, Flit * data);
void transfer2boundary_buf(int output);
void time_vector_update_icnt_injected(void* mf, int input);
+// other
+void icnt_overal_stat();
+void icnt_init_grid ();
+
#endif