diff options
Diffstat (limited to 'src/cuda-sim/cuda-sim.h')
| -rw-r--r-- | src/cuda-sim/cuda-sim.h | 12 |
1 files changed, 12 insertions, 0 deletions
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 <stdlib.h> +#include <map> +#include <string> 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<std::string,function_info*> *g_kernel_name_to_function_lookup; +extern std::map<std::string,symbol_table*> 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 |
