summaryrefslogtreecommitdiff
path: root/libcuda/cuda_runtime_api.cc
diff options
context:
space:
mode:
authorTor Aamodt <[email protected]>2012-05-17 22:24:30 -0800
committerAndrew Boktor <[email protected]>2014-08-14 13:47:31 -0700
commit17503436d1a02c5727fec69d1837081e9908c4cf (patch)
treeb216c7d29a366558eacb9651e9608199b8f0bccc /libcuda/cuda_runtime_api.cc
parent4ef56f6e1f21ea77a1747fac9e13948ad448269f (diff)
Remove -gpgpu_ptx_use_cuobjdump from configs. Update error reporting to be more helpful.
[git-p4: depot-paths = "//depot/gpgpu_sim_research/fermi/distribution/": change = 12654]
Diffstat (limited to 'libcuda/cuda_runtime_api.cc')
-rw-r--r--libcuda/cuda_runtime_api.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/libcuda/cuda_runtime_api.cc b/libcuda/cuda_runtime_api.cc
index c64aa14..e189403 100644
--- a/libcuda/cuda_runtime_api.cc
+++ b/libcuda/cuda_runtime_api.cc
@@ -1433,7 +1433,7 @@ void** CUDARTAPI __cudaRegisterFatBinary( void *fatCubin )
unsigned forced_max_capability = context->get_device()->get_gpgpu()->get_config().get_forced_max_capability();
if (!info->ptx){
printf("ERROR: Cannot find ptx code in cubin file\n"
- "\tIf you are using CUDA 4.0 or higher, please enable cuobjdump or downgrade to CUDA 3.1\n");
+ "\tIf you are using CUDA 4.0 or higher, please enable -gpgpu_ptx_use_cuobjdump or downgrade to CUDA 3.1\n");
exit(1);
}
while( info->ptx[num_ptx_versions].gpuProfileName != NULL ) {