cublas_safe_call.hpp
Go to the documentation of this file.
132 OPM_THROW(std::runtime_error, getCublasErrorMessage(error, expression, filename, functionName, lineNumber));
217 ::Opm::gpuistl::detail::cublasWarnIfError(expression, #expression, __FILE__, __func__, __LINE__)
Definition: autotuner.hpp:29 cublasStatus_t cublasWarnIfError(cublasStatus_t error, const std::string_view &expression, const std::string_view &filename, const std::string_view &functionName, size_t lineNumber) cublasWarnIfError checks the return type of the CUBLAS expression (function call) and issues a warnin... Definition: cublas_safe_call.hpp:165 void cublasSafeCall(cublasStatus_t error, const std::string_view &expression, const std::string_view &filename, const std::string_view &functionName, size_t lineNumber) cublasSafeCall checks the return type of the CUBLAS expression (function call) and throws an exceptio... Definition: cublas_safe_call.hpp:125 std::string getCublasErrorMessage(cublasStatus_t error, const std::string_view &expression, const std::string_view &filename, const std::string_view &functionName, size_t lineNumber) getCublasErrorMessage generates the error message to display for a given error. Definition: cublas_safe_call.hpp:82 |