Debugging#
For initial debugging, we recommend turning on the cuDNN frontend logging and checking for warnings and errors. The cuDNN frontend API logging records the execution flow through the cuDNN frontend API. This functionality is disabled by default, and can be enabled through methods described in this section.
Debugging by Using Environment Variables#
Environment Variables |
|
|
---|---|---|
|
No Logging |
No Logging |
|
No Logging |
Logging to |
|
No Logging |
Logging to the filename |
Debugging by Using API Calls#
Calling cudnn_frontend::isLoggingEnabled() = true|false
has the same effect of setting the environment variable. Calling cudnn_frontend::getStream() = stream_name
can be used to assign the output stream directly.
For further debugging, refer to the Error Reporting and API Logging to turn on the cuDNN backend logs.