From ef53bd94e416c74a3ea3b4d6240eb8f043e86e60 Mon Sep 17 00:00:00 2001 From: Tor Aamodt Date: Sun, 8 Aug 2010 12:17:43 -0800 Subject: refactoring: moving 'loading' operations into ptx_loader.* [git-p4: depot-paths = "//depot/gpgpu_sim_research/fermi/distribution/": change = 7166] --- src/cuda-sim/cuda-sim.h | 12 ++++++++++++ 1 file changed, 12 insertions(+) (limited to 'src/cuda-sim/cuda-sim.h') diff --git a/src/cuda-sim/cuda-sim.h b/src/cuda-sim/cuda-sim.h index 25b0cb2..2e67e15 100644 --- a/src/cuda-sim/cuda-sim.h +++ b/src/cuda-sim/cuda-sim.h @@ -3,12 +3,23 @@ #include "../abstract_hardware_model.h" #include +#include +#include class memory_space; +class function_info; +class symbol_table; extern const char *g_gpgpusim_version_string; extern int g_ptx_sim_mode; extern memory_space *g_global_mem; +extern int g_debug_execution; +extern int g_debug_thread_uid; +extern unsigned g_max_regs_per_thread; +extern bool g_debug_ir_generation; +extern const char *g_filename; +extern std::map *g_kernel_name_to_function_lookup; +extern std::map g_kernel_name_to_symtab_lookup; extern void gpgpu_ptx_sim_add_ptxstring( const char *ptx, const char *source_fname ); extern void gpgpu_ptx_sim_main_func( const char *kernel_key, dim3 gridDim, dim3 blockDim, struct gpgpu_ptx_sim_arg *); @@ -30,5 +41,6 @@ extern void gpgpu_ptx_sim_bindNameToTexture(const char* name, const struct tex extern int gpgpu_ptx_sim_sizeofTexture(const char* name); extern const char* gpgpu_ptx_sim_findNamefromTexture(const struct textureReference* texref); extern const struct textureReference* gpgpu_ptx_sim_accessTextureofName(const char* name); +extern void read_sim_environment_variables(); #endif -- cgit v1.3