diff options
| author | Tor Aamodt <[email protected]> | 2010-08-08 12:17:43 -0800 |
|---|---|---|
| committer | Tor Aamodt <[email protected]> | 2010-08-08 12:17:43 -0800 |
| commit | ef53bd94e416c74a3ea3b4d6240eb8f043e86e60 (patch) | |
| tree | 5b0a8bb30f9472188390360f123d5d91a606027f /src/cuda-sim/instructions.cc | |
| parent | 43eb0e822424b39b52091f45725376cc903b08ee (diff) | |
refactoring: moving 'loading' operations into ptx_loader.*
[git-p4: depot-paths = "//depot/gpgpu_sim_research/fermi/distribution/": change = 7166]
Diffstat (limited to 'src/cuda-sim/instructions.cc')
| -rw-r--r-- | src/cuda-sim/instructions.cc | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/src/cuda-sim/instructions.cc b/src/cuda-sim/instructions.cc index d663d0a..b3a0342 100644 --- a/src/cuda-sim/instructions.cc +++ b/src/cuda-sim/instructions.cc @@ -74,6 +74,8 @@ #include "cuda-math.h" #include "../abstract_hardware_model.h" +#include "ptx_loader.h" + #include <stdarg.h> unsigned g_num_ptx_inst_uid=0; @@ -90,11 +92,6 @@ extern std::map<struct textureReference*,struct cudaArray*> TextureToArrayMap; / extern std::map<struct textureReference*,struct textureInfo*> TextureToInfoMap; // texture bindings extern std::map<std::string, struct textureReference*> NameToTextureMap; -memory_space *g_global_mem; -memory_space *g_tex_mem; -memory_space *g_surf_mem; -memory_space *g_param_mem; - void inst_not_implemented( const ptx_instruction * pI ) ; unsigned unfound_register_warned = 0; |
