summaryrefslogtreecommitdiff
path: root/src/cuda-sim/cuda_device_runtime.cc
diff options
context:
space:
mode:
authorMengchi Zhang <[email protected]>2019-09-12 02:39:26 -0400
committerGitHub <[email protected]>2019-09-12 02:39:26 -0400
commitbea40c4a22a86fddbf1f7845265697716727f8b1 (patch)
tree0668f2efc2c8f097986fcf92e063c455baccbb68 /src/cuda-sim/cuda_device_runtime.cc
parentbeeea4ae9ca4da8362e2020b965d78e359b68ceb (diff)
parent48887cfe0261abde6de23fc5d1d76694426b7e8e (diff)
Merge pull request #30 from echoedit/dev
Refactor some perf model to OO
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 dc3adc3..4baced5 100644
--- a/src/cuda-sim/cuda_device_runtime.cc
+++ b/src/cuda-sim/cuda_device_runtime.cc
@@ -27,7 +27,6 @@
}
-//extern stream_manager *g_stream_manager();
//Handling device runtime api:
//void * cudaGetParameterBufferV2(void *func, dim3 gridDimension, dim3 blockDimension, unsigned int sharedMemSize)
@@ -285,7 +284,7 @@ void cuda_device_runtime::launch_one_device_kernel() {
device_launch_operation_t &op = g_cuda_device_launch_op.front();
stream_operation stream_op = stream_operation(op.grid, gpgpu_ctx->func_sim->g_ptx_sim_mode, op.stream);
- g_stream_manager()->push(stream_op);
+ gpgpu_ctx->the_gpgpusim->g_stream_manager->push(stream_op);
g_cuda_device_launch_op.pop_front();
}
}