diff options
| author | Tor Aamodt <[email protected]> | 2010-08-09 00:36:06 -0800 |
|---|---|---|
| committer | Tor Aamodt <[email protected]> | 2010-08-09 00:36:06 -0800 |
| commit | 6eb2c84753d4538ef6ee6ee27802bff9adbbefab (patch) | |
| tree | a7725e313320904ad9f554f093c92b0df79d684d /src/cuda-sim/ptx_sim.h | |
| parent | 06d6f3bb15f4c1dc56943304696ac83b36413907 (diff) | |
refactor: remove extern decl up to gpgpusim_entrypoint.cc
[git-p4: depot-paths = "//depot/gpgpu_sim_research/fermi/distribution/": change = 7178]
Diffstat (limited to 'src/cuda-sim/ptx_sim.h')
| -rw-r--r-- | src/cuda-sim/ptx_sim.h | 14 |
1 files changed, 6 insertions, 8 deletions
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 <assert.h> #include "opcodes.h" -#ifdef __cplusplus - - #include <string> - #include <map> - #include <set> - #include <list> - #include <unordered_map> +#include <string> +#include <map> +#include <set> +#include <list> +#include <unordered_map> #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 |
