| 90 | DeviceSolverDnHandle(const size_s gpu_id): gpu_id(gpu_id), cusolver_dn_handle(NULL) {} |
| 91 | |
| 92 | inline void set_gpu_id(const size_s gpu_id) { |
| 93 | this->gpu_id = gpu_id; |
| 94 | return; |
| 95 | } |
| 96 | inline void activate() { |
| 97 | CHECK_CUDA( cudaSetDevice(this->gpu_id) ); |
| 98 | CHECK_CUSOLVER( cusolverDnCreate(&this->cusolver_dn_handle) ); |
nothing calls this directly
no outgoing calls
no test coverage detected