| 313 | } |
| 314 | |
| 315 | bool ROCMBlas::Init() { |
| 316 | rocblas_status ret = wrap::rocblas_create_handle(parent_, &blas_); |
| 317 | if (ret != rocblas_status_success) { |
| 318 | LOG(ERROR) << "failed to create rocBLAS handle: " << ToString(ret); |
| 319 | return false; |
| 320 | } |
| 321 | |
| 322 | return true; |
| 323 | } |
| 324 | |
| 325 | ROCMBlas::ROCMBlas(gpu::GpuExecutor *parent) |
| 326 | : parent_(CHECK_NOTNULL(parent)), blas_(nullptr) {} |
no test coverage detected