diff options
| author | Mengchi Zhang <[email protected]> | 2019-06-12 23:30:14 -0400 |
|---|---|---|
| committer | GitHub <[email protected]> | 2019-06-12 23:30:14 -0400 |
| commit | 74923ff9a2c21b72a858a8ccfbb230b1fccef81d (patch) | |
| tree | 621cad18ed328712e256f9c1d762b59587e08603 /libopencl/opencl_runtime_api.cc | |
| parent | aa5f3aaeaa645f9d578fdadad25321e95a5f2058 (diff) | |
| parent | 632bdaab79b9c1fd51ef8152aa00209f76c03101 (diff) | |
Merge pull request #17 from echoedit/dev
Dev
Diffstat (limited to 'libopencl/opencl_runtime_api.cc')
| -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"); |
