Questions tagged [cusolver]

a library that is part of the NVIDIA CUDA toolkit to accelerate various dense and sparse LAPACK-like operations on GPUs

cusolver is a library included with CUDA 7.0 and beyond, to provide GPU acceleration for 3 categories of linear algebra problems:

  1. cuSolverDN deals with dense matrix factorization and solve routines such as LU, QR, SVD and LDLT

  2. cuSolverSP provides a set of sparse routines based on a sparse QR factorization

  3. cuSolverRF is a sparse re-factorization package for solving a sequence of matrices where only the coefficients are changed but the sparsity pattern remains the same

cusolver documentation is here.

56 questions
0
votes
1 answer

cuSolver sample with cuSolverDnDgetrf not working

OK. I'm getting my hands dirty with some code I took from cuSolver samples. I'm little experienced with C++, but I somehow managed to take the stuff I need from the original code. The problem is when I try to execute it; as recommended from the…
Eugenio
  • 244
  • 2
  • 13
0
votes
0 answers

Unresolved external symbols when linking to CUDA

Here is my code: // --- CUDA solver initialization cusolverDnHandle_t solver_handle = NULL; cusolverDnCreate(&solver_handle); cusolverDnDgesvd_bufferSize(solver_handle, Nrows, Ncols, &work_size)); cusolverDnDgesvd(solver_handle, 'A', 'A', Nrows,…
0
votes
1 answer

cuSolverRf sample status alloc failed

Running the CuSolverRf sample with the sample .mtx files lap2D_5pt_n100.mtx and lap3D_7pt_n20.mtx allows the program to run smoothly. However, when I insert in my own .mtx file, I get an error after step 8: "CUDA error at cuSolverRF.ccp:649…
ceeely
  • 135
  • 1
  • 10
0
votes
1 answer

CuSolverRf sample sorting error

I'm having trouble with the CUSolverRf sample to solve a sparse 196530 x 196530 with 2530239 nnz matrix. I've not tried with B vector values yet (a problem for another time) and I already have an error: Error (sorting of the column indecis check…
ceeely
  • 135
  • 1
  • 10
0
votes
1 answer

Special way to handle matrices with large dynamic range for cuSolverSp routines?

I have matrices like the one at this link: https://www.dropbox.com/s/tte3rlfsrprgtt8/ExampleMatrix.txt?dl=0 This example is a 9x9 sparse matrix where the values of the elements differ in magnitude significantly. For example the magnitude of the…
0
votes
1 answer

Lapack Orthonormalization Function for Rectangular Matrix

I was wondering if there was a function in Lapack for orthonormalizing the columns of a very tall and skinny matrix. A similar previous question asked this question, presumably in the context of a square matrix. My setting is as follows: I have an M…
Jack Hessel
  • 103
  • 1
  • 13
0
votes
1 answer

I don't find the LU decomposition on the device with cuSolver

I need to calculate the determinant of a matrix (array of double) with cuda and I want use the LU decomposition to do this. I don't find the device function in cusolverSp.h but only the host function cusolverSpDcsrlsvluHost. I look in cuda 7.0 and…
TuDa
  • 77
  • 1
  • 1
  • 8
0
votes
1 answer

Cuda cusolver can't link in Visual studio 2013

I have tried basically everything and I can't get vs2013 to compile and link against the cusolver library. I have tried all the sample projects that came with the cuda installation package and basically all of the samples work fine. Though there are…
GDub
  • 544
  • 2
  • 7
  • 15
0
votes
1 answer

getrs function of cuSolver over pycuda doesn't work properly

I'm trying to make a pycuda wrapper inspired by scikits-cuda library for some operations provided in the new cuSolver library of Nvidia. I want to solve a linear system of the form AX=B by LU factorization, to perform that first use the…
0
votes
1 answer

Segmentation Fault in Pycuda using NVIDIA's cuSolver Library

i'm tryin to make a pycuda wrapper inspired by scikits-cuda library, for some operations provided in the new cuSolver library of Nvidia, first I need to perfom an LU factorization through cusolverDnSgetrf() op. but before that I need the…
0
votes
0 answers

Linker error when using cuSolver

I am trying to run an example of SVD with cuSolver library available in cuda 7.0. When I run this code: Parallel implementation for multiple SVDs using CUDA I get the following errors: Error 1 error LNK2019: unresolved external symbol…
1 2 3
4