summaryrefslogtreecommitdiff
path: root/src/cuda-sim/cuda_device_runtime.cc
diff options
context:
space:
mode:
authorMengchi Zhang <[email protected]>2019-07-11 11:01:27 -0400
committerMengchi Zhang <[email protected]>2019-07-11 11:01:27 -0400
commit8019833f6c9d9552c70739dc2bf45e53655666ec (patch)
tree0e4b32437b5a72fd3920774e473ece11a5ad6261 /src/cuda-sim/cuda_device_runtime.cc
parentbfd493e03d52def57152bc9195c88eef8d0a2580 (diff)
Move g_total_param_size
Signed-off-by: Mengchi Zhang <[email protected]>
Diffstat (limited to 'src/cuda-sim/cuda_device_runtime.cc')
-rw-r--r--src/cuda-sim/cuda_device_runtime.cc3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/cuda-sim/cuda_device_runtime.cc b/src/cuda-sim/cuda_device_runtime.cc
index 354fa79..22304db 100644
--- a/src/cuda-sim/cuda_device_runtime.cc
+++ b/src/cuda-sim/cuda_device_runtime.cc
@@ -5,7 +5,6 @@
#include <iostream>
#include <map>
-unsigned long long g_total_param_size = 0;
unsigned long long g_max_total_param_size = 0;
@@ -70,7 +69,7 @@ std::list<device_launch_operation_t> g_cuda_device_launch_op;
//Handling device runtime api:
//void * cudaGetParameterBufferV2(void *func, dim3 gridDimension, dim3 blockDimension, unsigned int sharedMemSize)
-void gpgpusim_cuda_getParameterBufferV2(const ptx_instruction * pI, ptx_thread_info * thread, const function_info * target_func)
+void cuda_device_runtime::gpgpusim_cuda_getParameterBufferV2(const ptx_instruction * pI, ptx_thread_info * thread, const function_info * target_func)
{
DEV_RUNTIME_REPORT("Calling cudaGetParameterBufferV2");