diff options
| author | Mengchi Zhang <[email protected]> | 2019-06-12 13:19:08 -0400 |
|---|---|---|
| committer | Mengchi Zhang <[email protected]> | 2019-06-12 13:19:38 -0400 |
| commit | 7d02cbb061485db38ed8e5f6bf06c9b2fa40eed2 (patch) | |
| tree | 03922c5bb793d9dbf74a691467339df67d4abfa9 /libopencl | |
| parent | 7a6ff7084c1c65450775b4d58e80f8c789888815 (diff) | |
Integrate ptxinfo into gpgpu_context
Signed-off-by: Mengchi Zhang <[email protected]>
Diffstat (limited to 'libopencl')
| -rw-r--r-- | libopencl/opencl_runtime_api.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libopencl/opencl_runtime_api.cc b/libopencl/opencl_runtime_api.cc index 0ec635e..50a02fa 100644 --- a/libopencl/opencl_runtime_api.cc +++ b/libopencl/opencl_runtime_api.cc @@ -580,7 +580,7 @@ void _cl_program::Build(const char *options) } info.m_asm = tmp; info.m_symtab = ctx->gpgpu_ptx_sim_load_ptx_from_string( tmp, source_num ); - gpgpu_ptxinfo_load_from_string( tmp, source_num ); + ctx->gpgpu_ptxinfo_load_from_string( tmp, source_num ); free(tmp); } printf("GPGPU-Sim OpenCL API: finished compiling OpenCL kernels.\n"); |
