From 5e8eced64a8262b0190c4014e59b93c37ba3af9c Mon Sep 17 00:00:00 2001 From: Tor Aamodt Date: Mon, 23 Aug 2010 09:39:43 -0800 Subject: - add '-keep' option to keep intermediate files (used for OpenCL only right now) - remove redundant initialization code of options (which confuses new users) - make bool option variables bool type - remove some more extern decls [git-p4: depot-paths = "//depot/gpgpu_sim_research/fermi/distribution/": change = 7247] --- src/cuda-sim/ptx_sim.cc | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) (limited to 'src/cuda-sim/ptx_sim.cc') diff --git a/src/cuda-sim/ptx_sim.cc b/src/cuda-sim/ptx_sim.cc index 2156bd6..b433fb3 100644 --- a/src/cuda-sim/ptx_sim.cc +++ b/src/cuda-sim/ptx_sim.cc @@ -65,6 +65,7 @@ #include #include "ptx_ir.h" #include "../gpgpu-sim/gpu-sim.h" +#include "../gpgpu-sim/shader.h" void feature_not_implemented( const char *f ); @@ -358,11 +359,6 @@ void ptx_thread_info::callstack_push( unsigned pc, unsigned rpc, const symbol *r m_local_mem_stack_pointer += m_func_info->local_mem_framesize(); } -#define POST_DOMINATOR 1 /* must match definition in shader.h */ -extern int gpgpu_simd_model; -extern ptx_reg_t get_operand_value( const symbol *reg ); -extern void set_operand_value( const symbol *dst, const ptx_reg_t &data ); - bool ptx_thread_info::callstack_pop() { const symbol *rv_src = m_callstack.back().m_return_var_src; -- cgit v1.3