| 87 | //------------------------------------------------ |
| 88 | |
| 89 | inline 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 | |
| 98 | inline void checkCudaStatus(cudaError_t status) |
| 99 | { |