Where can one find the options for -XCudafe -- diag_suppress=???

I have seen cmake configurations that set NVCC flags. For example, the ??? in the subject line can be a number (z.b. 2739 to suppress “calling host fn from host device fn”) or a token (z.b. implicit_return_from_non_void_function).

Is there a master list for such options? Thanks.

I am not sure if all flags can be used with nvcc, but I have used some flags from this list:

http://www.ssl.berkeley.edu/~jimm/grizzly_docs/SSL/opt/intel/cc/9.0/lib/locale/en_US/mcpcom.msg

Thanks. I had seen that page but it is not complete. What I did instead is “-Xcudafe --display_error_number” so that the warnings have numbers displayed. Then I added “-Xcudafe --diag_suppress=<warning_number>” for the warnings I wanted to disable.

1 Like