summaryrefslogtreecommitdiff
path: root/src/cuda-sim/cuda-sim.h
diff options
context:
space:
mode:
authorTor Aamodt <[email protected]>2010-08-08 14:28:20 -0800
committerTor Aamodt <[email protected]>2010-08-08 14:28:20 -0800
commitb26dda933fe84d54cad47762ae80be3acdfda91b (patch)
tree7070b8b9f6d5d486a27ce9c81da22f763495b735 /src/cuda-sim/cuda-sim.h
parentef53bd94e416c74a3ea3b4d6240eb8f043e86e60 (diff)
refactoring: moving PTX parsing functions into ptx_parser.*
[git-p4: depot-paths = "//depot/gpgpu_sim_research/fermi/distribution/": change = 7167]
Diffstat (limited to 'src/cuda-sim/cuda-sim.h')
-rw-r--r--src/cuda-sim/cuda-sim.h4
1 files changed, 1 insertions, 3 deletions
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<std::string,function_info*> *g_kernel_name_to_function_lookup;
extern std::map<std::string,symbol_table*> 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