| 94 | return; |
| 95 | } |
| 96 | inline void activate() { |
| 97 | CHECK_CUDA( cudaSetDevice(this->gpu_id) ); |
| 98 | CHECK_CUSOLVER( cusolverDnCreate(&this->cusolver_dn_handle) ); |
| 99 | return; |
| 100 | } |
| 101 | inline void activate(const DeviceStream& device_stream) { |
| 102 | assert(device_stream.gpu_id == this->gpu_id); |
| 103 | CHECK_CUDA( cudaSetDevice(this->gpu_id) ); |
nothing calls this directly
no outgoing calls
no test coverage detected