summaryrefslogtreecommitdiff
path: root/libopencl
diff options
context:
space:
mode:
authorTor Aamodt <[email protected]>2010-08-08 22:33:44 -0800
committerTor Aamodt <[email protected]>2010-08-08 22:33:44 -0800
commita22c87cf48cb64a264c0696e6749e85b2038e0cf (patch)
tree06d9d7fab58467d69ff092b8447b9242ffc7c26f /libopencl
parent083f33e3580c2014a80a3e75e7e3c593588a526e (diff)
refactor: moving extern variable declarations into headers
[git-p4: depot-paths = "//depot/gpgpu_sim_research/fermi/distribution/": change = 7172]
Diffstat (limited to 'libopencl')
-rw-r--r--libopencl/opencl_runtime_api.cc2
1 files changed, 1 insertions, 1 deletions
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<b)?(a):(b))