From 6eb2c84753d4538ef6ee6ee27802bff9adbbefab Mon Sep 17 00:00:00 2001 From: Tor Aamodt Date: Mon, 9 Aug 2010 00:36:06 -0800 Subject: refactor: remove extern decl up to gpgpusim_entrypoint.cc [git-p4: depot-paths = "//depot/gpgpu_sim_research/fermi/distribution/": change = 7178] --- src/cuda-sim/ptx_sim.h | 14 ++++++-------- 1 file changed, 6 insertions(+), 8 deletions(-) (limited to 'src/cuda-sim/ptx_sim.h') diff --git a/src/cuda-sim/ptx_sim.h b/src/cuda-sim/ptx_sim.h index 0379686..e9270be 100644 --- a/src/cuda-sim/ptx_sim.h +++ b/src/cuda-sim/ptx_sim.h @@ -90,13 +90,11 @@ struct gpgpu_ptx_sim_kernel_info { #include #include "opcodes.h" -#ifdef __cplusplus - - #include - #include - #include - #include - #include +#include +#include +#include +#include +#include #include "memory.h" @@ -484,6 +482,6 @@ bool isspace_shared( unsigned smid, addr_t addr ); bool isspace_global( addr_t addr ); memory_space_t whichspace( addr_t addr ); -#endif +extern unsigned g_ptx_thread_info_uid_next; #endif -- cgit v1.3