From 17503436d1a02c5727fec69d1837081e9908c4cf Mon Sep 17 00:00:00 2001 From: Tor Aamodt Date: Thu, 17 May 2012 22:24:30 -0800 Subject: 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] --- libcuda/cuda_runtime_api.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libcuda') 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 ) { -- cgit v1.3