diff options
| author | sspenst <[email protected]> | 2016-05-12 16:54:39 -0700 |
|---|---|---|
| committer | sspenst <[email protected]> | 2016-05-12 16:54:39 -0700 |
| commit | 4bdf48ed2098e036da1503405c30b71f39be0e94 (patch) | |
| tree | 1e895cdfe51f82697bad66f161145a40d77b3329 /libcuda/cuda_runtime_api.cc | |
| parent | 41e327c4521fbb3a341b211666a2c90529091532 (diff) | |
added an assertion to pruneSectionList
Diffstat (limited to 'libcuda/cuda_runtime_api.cc')
| -rw-r--r-- | libcuda/cuda_runtime_api.cc | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/libcuda/cuda_runtime_api.cc b/libcuda/cuda_runtime_api.cc index 496d83c..7495767 100644 --- a/libcuda/cuda_runtime_api.cc +++ b/libcuda/cuda_runtime_api.cc @@ -1484,6 +1484,8 @@ std::list<cuobjdumpSection*> pruneSectionList(std::list<cuobjdumpSection*> cuobj delete *iter; } } + + assert(!prunedList.empty() && "WARNING: Change -gpgpu_ptx_force_max_capability in gpgpusim.config to match the largest Gencode argument in the Makefile"); return prunedList; } |
