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 /libcuda/cuda_runtime_api.cc | |
| parent | 7a6ff7084c1c65450775b4d58e80f8c789888815 (diff) | |
Integrate ptxinfo into gpgpu_context
Signed-off-by: Mengchi Zhang <[email protected]>
Diffstat (limited to 'libcuda/cuda_runtime_api.cc')
| -rw-r--r-- | libcuda/cuda_runtime_api.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libcuda/cuda_runtime_api.cc b/libcuda/cuda_runtime_api.cc index 14e3329..0a6eabb 100644 --- a/libcuda/cuda_runtime_api.cc +++ b/libcuda/cuda_runtime_api.cc @@ -640,7 +640,7 @@ void** cudaRegisterFatBinaryInternal( void *fatCubin, gpgpu_context* gpgpu_ctx = } else { symtab=ctx->gpgpu_ptx_sim_load_ptx_from_string(ptx,source_num); context->add_binary(symtab,fat_cubin_handle); - gpgpu_ptxinfo_load_from_string( ptx, source_num, max_capability, context->no_of_ptx ); + ctx->gpgpu_ptxinfo_load_from_string( ptx, source_num, max_capability, context->no_of_ptx ); } source_num++; ctx->api->load_static_globals(symtab,STATIC_ALLOC_LIMIT,0xFFFFFFFF,context->get_device()->get_gpgpu()); |
