cuda-api-wrappers icon indicating copy to clipboard operation
cuda-api-wrappers copied to clipboard

Support for NVRTC diag-suppress/error/warn

Open eyalroz opened this issue 3 years ago • 0 comments

With NVRTC, you can choose to either suppress, warn, or emit an error when encountering various issues in the code, using:

--diag-error=<error-number>
--diag-suppress=<error-number>
--diag-warn=<error-number>

this is currently not supported by the compilation_options.hpp class. Let's add this support. This is less trivial than just flags, since it can be used with multiple numbered situations.

eyalroz avatar Oct 30 '21 18:10 eyalroz