diff options
| author | Mengchi Zhang <[email protected]> | 2019-07-09 15:34:59 -0400 |
|---|---|---|
| committer | GitHub <[email protected]> | 2019-07-09 15:34:59 -0400 |
| commit | 460e779f45faa545c263e2d3316935b9fc083876 (patch) | |
| tree | 8d7a8fb41bfebf528f0f1a9d7c3011bca9de1c4d /src/gpgpusim_entrypoint.cc | |
| parent | 109a03655326ed23d26a3496589b21be51089bbb (diff) | |
| parent | b3655bf28a7402db347f9d7f87049806b9315a05 (diff) | |
Merge pull request #23 from echoedit/dev
Dev
Diffstat (limited to 'src/gpgpusim_entrypoint.cc')
| -rw-r--r-- | src/gpgpusim_entrypoint.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gpgpusim_entrypoint.cc b/src/gpgpusim_entrypoint.cc index 5018305..d9d1023 100644 --- a/src/gpgpusim_entrypoint.cc +++ b/src/gpgpusim_entrypoint.cc @@ -134,7 +134,7 @@ void *gpgpu_sim_thread_concurrent(void*) if( GPGPUsim_ctx_ptr()->g_the_gpu->is_functional_sim()) { kernel_info_t * kernel = GPGPUsim_ctx_ptr()->g_the_gpu->get_functional_kernel(); assert(kernel); - gpgpu_cuda_ptx_sim_main_func(*kernel); + GPGPUsim_ctx_ptr()->gpgpu_ctx->func_sim->gpgpu_cuda_ptx_sim_main_func(*kernel); GPGPUsim_ctx_ptr()->g_the_gpu->finish_functional_sim(kernel); } @@ -287,7 +287,7 @@ int gpgpu_opencl_ptx_sim_main_perf( kernel_info_t *grid ) /*! * This function call the CUDA PTX functional simulator */ -int gpgpu_opencl_ptx_sim_main_func( kernel_info_t *grid ) +int cuda_sim::gpgpu_opencl_ptx_sim_main_func( kernel_info_t *grid ) { //calling the CUDA PTX simulator, sending the kernel by reference and a flag set to true, //the flag used by the function to distinguish OpenCL calls from the CUDA simulation calls which |
