You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is your feature request related to a problem? Please describe.
Sanitizers are extremely useful for detecting hard-to-find and subtle bugs. They include UB sanitizer, address sanitizer, memory sanitizer, and thread sanitizer. They can work in conjunction with CUDA code with a few workarounds. They are complementary to CUDA compute-sanitizer. Compiler-provided sanitizers are also lightweight and much more efficient than external tools such as valgrind.
I don't see such support for the current build configurations. It would be great to add them to make the CCCL libraries even more robust.
Other optional tools are the static analyzers provided by the main compilers
Is this a duplicate?
Area
Infrastructure
Is your feature request related to a problem? Please describe.
Sanitizers are extremely useful for detecting hard-to-find and subtle bugs. They include
UB sanitizer
,address sanitizer
,memory sanitizer
, andthread sanitizer
. They can work in conjunction with CUDA code with a few workarounds. They are complementary to CUDAcompute-sanitizer
. Compiler-provided sanitizers are also lightweight and much more efficient than external tools such asvalgrind
.I don't see such support for the current build configurations. It would be great to add them to make the CCCL libraries even more robust.
Other optional tools are the static analyzers provided by the main compilers
-fanalyzer
https://gcc.gnu.org/onlinedocs/gcc/Static-Analyzer-Options.htmlscan-build
https://clang.llvm.org/docs/analyzer/user-docs/CommandLineUsage.html#scan-build/analyze
https://learn.microsoft.com/en-us/cpp/build/reference/analyze-code-analysis?view=msvc-170Risks: very low detection rate and false positives
Describe the solution you'd like
Add common compiler flags for GCC/Clang:
Describe alternatives you've considered
No response
Additional context
No response
The text was updated successfully, but these errors were encountered: