From a1acb8ed114e6ed00c742e7fd7bcbbe216f909c1 Mon Sep 17 00:00:00 2001 From: Tor Aamodt Date: Sun, 8 Aug 2010 22:57:41 -0800 Subject: refactoring: mem_latency_stat in impl, etc... [git-p4: depot-paths = "//depot/gpgpu_sim_research/fermi/distribution/": change = 7173] --- libcuda/cuda_runtime_api.cc | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'libcuda/cuda_runtime_api.cc') diff --git a/libcuda/cuda_runtime_api.cc b/libcuda/cuda_runtime_api.cc index 27b4bd3..b6e99ca 100644 --- a/libcuda/cuda_runtime_api.cc +++ b/libcuda/cuda_runtime_api.cc @@ -128,6 +128,7 @@ #include "builtin_types.h" #include "driver_types.h" #include "__cudaFatFormat.h" +#include "../src/gpgpu-sim/gpu-sim.h" /*DEVICE_BUILTIN*/ struct cudaArray @@ -610,10 +611,6 @@ __host__ cudaError_t CUDARTAPI cudaMemset(void *mem, int c, size_t count) return g_last_cudaError = cudaSuccess; } -#if (CUDART_VERSION >= 2010) -extern unsigned int gpu_n_shader; -#endif - __host__ cudaError_t CUDARTAPI cudaGetDeviceProperties(struct cudaDeviceProp *prop, int device) { GPGPUSIM_INIT -- cgit v1.3