summaryrefslogtreecommitdiff
path: root/src/cuda-sim/instructions.cc
diff options
context:
space:
mode:
authorMengchi Zhang <[email protected]>2019-07-11 14:23:13 -0400
committerMengchi Zhang <[email protected]>2019-07-11 14:23:13 -0400
commitb1385157251803aa45eaff154637218c9f6b15b1 (patch)
tree9aef6a7e5323c20ac1521796e27664d62ca84c22 /src/cuda-sim/instructions.cc
parent33d064f5a38b60fb0ed4b4ad78212c6e5d9bfc0f (diff)
Move g_cuda_device_launch_param_map and g_cuda_device_launch_op
Signed-off-by: Mengchi Zhang <[email protected]>
Diffstat (limited to 'src/cuda-sim/instructions.cc')
-rw-r--r--src/cuda-sim/instructions.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/cuda-sim/instructions.cc b/src/cuda-sim/instructions.cc
index dfe5af6..565340c 100644
--- a/src/cuda-sim/instructions.cc
+++ b/src/cuda-sim/instructions.cc
@@ -2101,11 +2101,11 @@ void call_impl( const ptx_instruction *pI, ptx_thread_info *thread )
return;
}
else if(fname == "cudaLaunchDeviceV2") {
- gpgpusim_cuda_launchDeviceV2(pI, thread, target_func);
+ target_func->gpgpu_ctx->device_runtime->gpgpusim_cuda_launchDeviceV2(pI, thread, target_func);
return;
}
else if(fname == "cudaStreamCreateWithFlags") {
- gpgpusim_cuda_streamCreateWithFlags(pI, thread, target_func);
+ target_func->gpgpu_ctx->device_runtime->gpgpusim_cuda_streamCreateWithFlags(pI, thread, target_func);
return;
}
#endif