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

Method SingleEigParam

XM/include/Dense/eig.h:16–24  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

14 cusolverDnParams_t param;
15
16 SingleEigParam(const int gpu_id = 0): gpu_id(gpu_id) {
17 CHECK_CUDA( cudaSetDevice(this->gpu_id) );
18 this->param = NULL;
19 CHECK_CUSOLVER( cusolverDnCreateParams(&this->param) );
20 // we need eigen vector
21 this->jobz = CUSOLVER_EIG_MODE_VECTOR;
22 // upper and lower is arbitrary
23 this->uplo = CUBLAS_FILL_MODE_LOWER;
24 }
25
26 ~SingleEigParam() {
27 if (this->param != NULL) {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected