[Openmp-commits] [PATCH] D78334: [libomptarget][nfc][nvptx] Less verbose debug build
Jon Chesterfield via Phabricator via Openmp-commits
openmp-commits at lists.llvm.org
Thu Apr 16 15:37:48 PDT 2020
JonChesterfield created this revision.
JonChesterfield added reviewers: jdoerfert, grokos, ABataev.
Herald added subscribers: openmp-commits, mgorny.
Herald added a project: OpenMP.
[libomptarget][nfc][nvptx] Less verbose debug build
When compiling with LIBOMPTARGET_NVPTX_DEBUG, verbose ptxas
provides approximately 300 instances of diagnostics of the form:
ptxas info : Function properties for some_function
x bytes stack frame, y bytes spill stores, z bytes spill loads
While interesting if tuning the performance of the runtime, it doesn't seem
worth having this in the build output by default.
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D78334
Files:
openmp/libomptarget/deviceRTLs/nvptx/CMakeLists.txt
Index: openmp/libomptarget/deviceRTLs/nvptx/CMakeLists.txt
===================================================================
--- openmp/libomptarget/deviceRTLs/nvptx/CMakeLists.txt
+++ openmp/libomptarget/deviceRTLs/nvptx/CMakeLists.txt
@@ -86,7 +86,7 @@
set(LIBOMPTARGET_NVPTX_DEBUG FALSE CACHE BOOL
"Activate NVPTX device RTL debug messages.")
if(${LIBOMPTARGET_NVPTX_DEBUG})
- set(CUDA_DEBUG -DOMPTARGET_NVPTX_DEBUG=-1 -g --ptxas-options=-v)
+ set(CUDA_DEBUG -DOMPTARGET_NVPTX_DEBUG=-1 -g )
endif()
# NVPTX runtime library has to be statically linked. Dynamic linking is not
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D78334.258186.patch
Type: text/x-patch
Size: 605 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/openmp-commits/attachments/20200416/c8ab10d6/attachment.bin>
More information about the Openmp-commits
mailing list