summaryrefslogtreecommitdiff
path: root/libcuda/cuda_runtime_api.cc
diff options
context:
space:
mode:
authorMengchi Zhang <[email protected]>2019-07-09 14:32:24 -0400
committerMengchi Zhang <[email protected]>2019-07-09 14:32:24 -0400
commitcda7a145b9e28eff0f3e9ac8197c2b6215755fc8 (patch)
tree130b10d0f93ece2e531b1fab9a8bd80729566461 /libcuda/cuda_runtime_api.cc
parent5b015d4347c4945de5a6a7b0559e67e3824d76d6 (diff)
Move g_ptx_kernel_count
Signed-off-by: Mengchi Zhang <[email protected]>
Diffstat (limited to 'libcuda/cuda_runtime_api.cc')
-rw-r--r--libcuda/cuda_runtime_api.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/libcuda/cuda_runtime_api.cc b/libcuda/cuda_runtime_api.cc
index 43c5e1f..43c8bae 100644
--- a/libcuda/cuda_runtime_api.cc
+++ b/libcuda/cuda_runtime_api.cc
@@ -3545,7 +3545,7 @@ kernel_info_t * cuda_runtime_api::gpgpu_cuda_ptx_sim_init_grid( const char *host
}
entry->finalize(result->get_param_memory());
- g_ptx_kernel_count++;
+ gpgpu_ctx->func_sim->g_ptx_kernel_count++;
fflush(stdout);
if(g_debug_execution >= 4){