| 72 | } |
| 73 | |
| 74 | ~DeviceBlasHandle() { |
| 75 | if (this->cublas_handle != NULL) { |
| 76 | CHECK_CUBLAS( cublasDestroy_v2(this->cublas_handle) ); |
| 77 | this->cublas_handle = NULL; |
| 78 | } |
| 79 | // std::cout << "DeviceBlasHandle destructor called!" << std::endl; |
| 80 | } |
| 81 | }; |
| 82 | |
| 83 | // cusolver (dense) handle wrapper |
nothing calls this directly
no outgoing calls
no test coverage detected