Mila 0.13.48
Deep Neural Network Library
Loading...
Searching...
No Matches
Cuda.Error Module Reference

Classes

class  Mila::Dnn::Compute::CudaError
 Exception class for CUDA runtime errors. More...

Functions

void Mila::Dnn::Compute::cudaCheckLastError (const std::source_location &location=std::source_location::current())
 Checks the last CUDA error and throws if an error occurred.
void Mila::Dnn::Compute::cudaCheckStatus (cudaError_t status, const std::source_location &location=std::source_location::current())
 Checks the status of a CUDA operation and throws if an error occurred.

Files

file  /__w/Mila/Mila/Mila/Src/Dnn/Compute/Devices/Cuda/Helpers/CudaError.ixx
 CUDA error handling utilities and exception class.