MCPcopy Create free account
hub / github.com/NVIDIA/FasterTransformer / checkCublasStatus

Function checkCublasStatus

tests/unittests/fp8_gemm_test/worker.cpp:89–96  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

87//------------------------------------------------
88
89inline void checkCublasStatus(cublasStatus_t status)
90{
91 if (status != CUBLAS_STATUS_SUCCESS) {
92 printf("cuBLAS API failed with status %d\n", status);
93 // throw std::logic_error("cuBLAS API failed");
94 // printf("cuBLAS API failed");
95 }
96}
97
98inline void checkCudaStatus(cudaError_t status)
99{

Callers 1

cublasTesterFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected