Mila
Deep Neural Network Library
Loading...
Searching...
No Matches
Mila::Dnn::Compute::CublasLtError Class Referenceexport
Inheritance diagram for Mila::Dnn::Compute::CublasLtError:
Collaboration diagram for Mila::Dnn::Compute::CublasLtError:

Public Member Functions

 CublasLtError (cublasStatus_t status, const std::source_location &location=std::source_location::current())
 
cublasStatus_t getError () const noexcept
 
const char * getFile () const noexcept
 
const char * getFunction () const noexcept
 
uint32_t getLine () const noexcept
 

Static Private Member Functions

static std::string getMessage (cublasStatus_t status, const std::source_location &location)
 

Private Attributes

cublasStatus_t cublas_error_
 The cuBLAS error code.
 
const char * file_
 Source file where the error occurred.
 
const char * function_
 Function name where the error occurred.
 
uint32_t line_
 Line number where the error occurred.
 

Constructor & Destructor Documentation

◆ CublasLtError()

Mila::Dnn::Compute::CublasLtError::CublasLtError ( cublasStatus_t  status,
const std::source_location &  location = std::source_location::current() 
)
inline

Member Function Documentation

◆ getError()

cublasStatus_t Mila::Dnn::Compute::CublasLtError::getError ( ) const
inlinenoexcept

◆ getFile()

const char * Mila::Dnn::Compute::CublasLtError::getFile ( ) const
inlinenoexcept

◆ getFunction()

const char * Mila::Dnn::Compute::CublasLtError::getFunction ( ) const
inlinenoexcept

◆ getLine()

uint32_t Mila::Dnn::Compute::CublasLtError::getLine ( ) const
inlinenoexcept

◆ getMessage()

static std::string Mila::Dnn::Compute::CublasLtError::getMessage ( cublasStatus_t  status,
const std::source_location &  location 
)
inlinestaticprivate

Member Data Documentation

◆ cublas_error_

cublasStatus_t Mila::Dnn::Compute::CublasLtError::cublas_error_
private

The cuBLAS error code.

◆ file_

const char* Mila::Dnn::Compute::CublasLtError::file_
private

Source file where the error occurred.

◆ function_

const char* Mila::Dnn::Compute::CublasLtError::function_
private

Function name where the error occurred.

◆ line_

uint32_t Mila::Dnn::Compute::CublasLtError::line_
private

Line number where the error occurred.


The documentation for this class was generated from the following file: