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:


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.