According to the doc, ‘-G’ option turns off all optimizations on device code.
How to enable both optimization and debug information for device code?
-lineinfo, see CUDA DEBUGGING WITH
COMMAND LINE TOOLS (GTC 2014 Slides).
According to the doc, ‘-G’ option turns off all optimizations on device code.
How to enable both optimization and debug information for device code?
-lineinfo, see CUDA DEBUGGING WITH
COMMAND LINE TOOLS (GTC 2014 Slides).