diff options
| author | Tor Aamodt <[email protected]> | 2010-08-23 09:39:43 -0800 |
|---|---|---|
| committer | Tor Aamodt <[email protected]> | 2010-08-23 09:39:43 -0800 |
| commit | 5e8eced64a8262b0190c4014e59b93c37ba3af9c (patch) | |
| tree | 45cbf2cc87a2671c86548d645ef982f6b68373b3 /src/cuda-sim/instructions.cc | |
| parent | 83a96bb39177a0767c6d851f4fe3ff92757652f5 (diff) | |
- 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]
Diffstat (limited to 'src/cuda-sim/instructions.cc')
| -rw-r--r-- | src/cuda-sim/instructions.cc | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/src/cuda-sim/instructions.cc b/src/cuda-sim/instructions.cc index 0924eab..47b3ebb 100644 --- a/src/cuda-sim/instructions.cc +++ b/src/cuda-sim/instructions.cc @@ -75,6 +75,9 @@ #include "cuda-math.h" #include "../abstract_hardware_model.h" #include "ptx_loader.h" +#include "cuda_device_printf.h" +#include "../gpgpu-sim/gpu-sim.h" +#include "../gpgpu-sim/shader.h" #include <stdarg.h> @@ -678,11 +681,6 @@ void bra_impl( const ptx_instruction *pI, ptx_thread_info *thread ) void brev_impl( const ptx_instruction *pI, ptx_thread_info *thread ) { inst_not_implemented(pI); } void brkpt_impl( const ptx_instruction *pI, ptx_thread_info *thread ) { inst_not_implemented(pI); } -extern int gpgpu_simd_model; -#define POST_DOMINATOR 1 /* must match enum value in shader.h */ -void get_pdom_stack_top_info( unsigned sid, unsigned tid, unsigned *npc, unsigned *rpc ); -void gpgpusim_cuda_vprintf(const ptx_instruction * pI, const ptx_thread_info * thread, const function_info * target_func ); - void call_impl( const ptx_instruction *pI, ptx_thread_info *thread ) { static unsigned call_uid_next = 1; |
