MCPcopy Create free account
hub / github.com/ComputationalRobotics/XM-code / ~DeviceBlasHandle

Method ~DeviceBlasHandle

XM/include/Utils/memory.h:74–80  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

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

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected