diff options
| author | Mengchi Zhang <[email protected]> | 2019-06-12 09:42:25 -0400 |
|---|---|---|
| committer | Mengchi Zhang <[email protected]> | 2019-06-12 09:42:25 -0400 |
| commit | c7d713104df5bab5583b3a0e96323cbe346f9759 (patch) | |
| tree | b65e643260a3922d1be5f662bc0ab034dd521072 /libcuda/cuda_runtime_api.cc | |
| parent | 9e52c143a883f682c02d81149748cdf8aa5508f7 (diff) | |
Fix for 4.2
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 25642a7..14e3329 100644 --- a/libcuda/cuda_runtime_api.cc +++ b/libcuda/cuda_runtime_api.cc @@ -638,7 +638,7 @@ void** cudaRegisterFatBinaryInternal( void *fatCubin, gpgpu_context* gpgpu_ctx = "\tEither enable cuobjdump or disable PTXPlus in your configuration file\n"); exit(1); } else { - symtab=gpgpu_ptx_sim_load_ptx_from_string(ptx,source_num); + 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 ); } |
