| 129 | return; |
| 130 | } |
| 131 | inline void activate() { |
| 132 | CHECK_CUDA( cudaSetDevice(this->gpu_id) ); |
| 133 | CHECK_CUSOLVER( cusolverSpCreate(&this->cusolver_sp_handle) ); |
| 134 | return; |
| 135 | } |
| 136 | inline void activate(const DeviceStream& device_stream) { |
| 137 | assert(device_stream.gpu_id == this->gpu_id); |
| 138 | CHECK_CUDA( cudaSetDevice(this->gpu_id) ); |
nothing calls this directly
no outgoing calls
no test coverage detected