From b26dda933fe84d54cad47762ae80be3acdfda91b Mon Sep 17 00:00:00 2001 From: Tor Aamodt Date: Sun, 8 Aug 2010 14:28:20 -0800 Subject: refactoring: moving PTX parsing functions into ptx_parser.* [git-p4: depot-paths = "//depot/gpgpu_sim_research/fermi/distribution/": change = 7167] --- src/cuda-sim/cuda-sim.h | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (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 2e67e15..6662b4c 100644 --- a/src/cuda-sim/cuda-sim.h +++ b/src/cuda-sim/cuda-sim.h @@ -15,9 +15,6 @@ 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; @@ -42,5 +39,6 @@ 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(); +extern void register_ptx_function( const char *name, function_info *impl, symbol_table *symtab ); #endif -- cgit v1.3