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 /libcuda/cuda_runtime_api.cc | |
| parent | aa5f3aaeaa645f9d578fdadad25321e95a5f2058 (diff) | |
| parent | 632bdaab79b9c1fd51ef8152aa00209f76c03101 (diff) | |
Merge pull request #17 from echoedit/dev
Dev
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 f3b1113..f46d9f1 100644 --- a/libcuda/cuda_runtime_api.cc +++ b/libcuda/cuda_runtime_api.cc @@ -642,7 +642,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()); |
