From a22c87cf48cb64a264c0696e6749e85b2038e0cf Mon Sep 17 00:00:00 2001 From: Tor Aamodt Date: Sun, 8 Aug 2010 22:33:44 -0800 Subject: refactor: moving extern variable declarations into headers [git-p4: depot-paths = "//depot/gpgpu_sim_research/fermi/distribution/": change = 7172] --- libopencl/opencl_runtime_api.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libopencl') diff --git a/libopencl/opencl_runtime_api.cc b/libopencl/opencl_runtime_api.cc index 8b2b94e..0b2d45c 100644 --- a/libopencl/opencl_runtime_api.cc +++ b/libopencl/opencl_runtime_api.cc @@ -79,6 +79,7 @@ #include "../src/cuda-sim/cuda-sim.h" #include "../src/gpgpusim_entrypoint.h" #include "../src/cuda-sim/ptx_loader.h" +#include "../src/gpgpu-sim/gpu-sim.h" struct gpgpu_ptx_sim_arg { const void *m_start; @@ -321,7 +322,6 @@ unsigned ptx_kernel_shmem_size( void *kernel_impl ); unsigned ptx_kernel_nregs( void *kernel_impl ); extern unsigned int gpgpu_shmem_size; extern unsigned int gpgpu_shader_registers; -extern unsigned int gpu_n_thread_per_shader; #define min(a,b) ((a