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] --- configs/Fermi/gpgpusim.config | 3 --- configs/QuadroFX5800/gpgpusim.config | 3 --- libcuda/cuda_runtime_api.cc | 2 +- 3 files changed, 1 insertion(+), 7 deletions(-) diff --git a/configs/Fermi/gpgpusim.config b/configs/Fermi/gpgpusim.config index c68001a..1a63db1 100644 --- a/configs/Fermi/gpgpusim.config +++ b/configs/Fermi/gpgpusim.config @@ -95,9 +95,6 @@ -gpgpu_runtime_stat 500 -enable_ptx_file_line_stats 1 -# Using cuobjdump to extract ptx/SASS (must be enabled with CUDA >= 4.0) --gpgpu_ptx_use_cuobjdump 1 - # SASS execution (only supported with CUDA >= 4.0) -gpgpu_ptx_convert_to_ptxplus 0 -gpgpu_ptx_save_converted_ptxplus 0 diff --git a/configs/QuadroFX5800/gpgpusim.config b/configs/QuadroFX5800/gpgpusim.config index 5bb0188..ad1b022 100644 --- a/configs/QuadroFX5800/gpgpusim.config +++ b/configs/QuadroFX5800/gpgpusim.config @@ -60,9 +60,6 @@ -gpgpu_runtime_stat 500 -enable_ptx_file_line_stats 1 -# Using cuobjdump to extract ptx/SASS (must be enabled with CUDA >= 4.0) --gpgpu_ptx_use_cuobjdump 1 - # SASS execution (only supported with CUDA >= 4.0) -gpgpu_ptx_convert_to_ptxplus 0 -gpgpu_ptx_save_converted_ptxplus 0 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