cusparse_safe_call.hpp
Go to the documentation of this file.
118 OPM_THROW(std::runtime_error, getCusparseErrorMessage(error, expression, filename, functionName, lineNumber));
159 OpmLog::warning(getCusparseErrorMessage(error, expression, filename, functionName, lineNumber));
207 ::Opm::gpuistl::detail::cusparseWarnIfError(expression, #expression, __FILE__, __func__, __LINE__)
#define CHECK_CUSPARSE_ERROR_TYPE(code, x) Definition: cusparse_safe_call.hpp:30 Definition: autotuner.hpp:29 std::string getCusparseErrorCodeToString(int code) getCusparseErrorCodeToString Converts an error code returned from a cusparse function a human readabl... Definition: cusparse_safe_call.hpp:40 void cusparseSafeCall(cusparseStatus_t error, const std::string_view &expression, const std::string_view &filename, const std::string_view &functionName, size_t lineNumber) cusparseSafeCall checks the return type of the CUSPARSE expression (function call) and throws an exce... Definition: cusparse_safe_call.hpp:111 cusparseStatus_t cusparseWarnIfError(cusparseStatus_t error, const std::string_view &expression, const std::string_view &filename, const std::string_view &functionName, size_t lineNumber) cusparseWarnIfError checks the return type of the CUSPARSE expression (function call) and issues a wa... Definition: cusparse_safe_call.hpp:152 std::string getCusparseErrorMessage(cusparseStatus_t error, const std::string_view &expression, const std::string_view &filename, const std::string_view &functionName, size_t lineNumber) getCusparseErrorMessage generates the error message to display for a given error. Definition: cusparse_safe_call.hpp:74 |