Questions tagged [nvblas]

The NVBLAS Library is a GPU-accelerated Libary that implements BLAS (Basic Linear Algebra Subprograms).

The NVBLAS Library is a GPU-accelerated Libary that implements BLAS (Basic Linear Algebra Subprograms). It can accelerate most BLAS Level-3 routines by dynamically routing BLAS calls to one or more NVIDIA GPUs present in the system, when the charateristics of the call make it to speedup on a GPU.

12 questions
7
votes
0 answers

Armadillo + VS 2015 - How to link with NVBLAS

as per title, is there an easy way to link Armadillo with NVBLAS in VS 2015? At the moment I've installed MKL in VS, and everything is working flawlessly. I've installed CUDA Toolkit 8 with the extension in VS, can I somehow instruct Armadillo to…
7raiden7
  • 319
  • 1
  • 4
  • 16
6
votes
0 answers

Using nvBLAS in R on Windows?

I am having trouble getting nvBLAS to work in R. I'm using RStudio on a Windows 10 machine, and I have no idea how to link nvBLAS and the original Rblas together for R to start up with both. From the nvBLAS documentation: To use the NVBLAS…
Jon Peake
  • 61
  • 2
4
votes
1 answer

R and nvblas.dynlib (on a mac)

I have R on my mac installed via CRAN. I also have openblas installed via homebrew. I can switch between BLAS implementations as follows: Reference blas (netlib I think): ln -sf /Library/Frameworks/R.framework/Resources/lib/libRblas.0.dylib…
Zach
  • 29,791
  • 35
  • 142
  • 201
3
votes
1 answer

Using jBLAS with NVBLAS

I have compiled jBLAS with NVBLAS with a somewhat hacky solution, since the configure script was not correctly finding the libraries. I manually edited the configure.out file of jBLAS like so, to include the NVBLAS…
TheRealOrange
  • 115
  • 1
  • 1
  • 9
3
votes
0 answers

How do you prioritise linking NVBLAS in Visual Studio to work with Armadillo?

I am trying to prioritise the linking of nvblas over blas to work with Armadillo. From what I have read, I can see that the libraries need to be put in the following linking order: Lapack NVBlas Blas I have done this in my visual studio project,…
XuAnderlu
  • 31
  • 1
2
votes
0 answers

How do I link Armadillo with nvblas on windows

So I want to use mlpack (https://github.com/mlpack/mlpack) with nvblas. Now mlpack uses armadillo. I been looking online for a guide that will explain to me how to setup armadillo and mlpack with nvblas and I can't find one (especially one that…
NacOJerk
  • 73
  • 11
2
votes
0 answers

Is there is a gradient descent implementation that uses matrix matrix multiplication?

I'm using the below gradient descent implementation in Octave for ML. I tried first to increase number of CPU cores and run Octave multithreaded using OpenBlas but still I didn't get the results I'm looking for, so I tried using Nvidia's toolkit and…
Fady Anwar
  • 29
  • 5
1
vote
0 answers

Spark MLlib Single precision distributed matrix

Is it possible to create a distributed blockmatrix containing single precision entries in spark? From what i gather from the documentation, the scala/java implementation of blockmatrix requires a mllib.Matrix object, which holds the values as…
1
vote
1 answer

NVBLAS silently fails for semi-large matrix multiplication

I followed the instructions here to run octave with nvblas. I have CUDA toolkit 7.5 installed and a tesla k40c GPU. To start octave with nvblas, I used LD_PRELOAD=libnvblas.so octave. I then ran the following simple code: N = 256 A = rand(N,N) B…
Tom
  • 35
  • 4
0
votes
1 answer

dgemm nvblas gpu offload

I had test application that performs matrix multiplication and tried to offload to gpu with nvblas. #include #include using namespace arma; using namespace std; int main(int argc, char *argv[]) { int m = atoi(argv[1]); …
Ramakrishnan Kannan
  • 604
  • 1
  • 11
  • 24
0
votes
1 answer

NVBLAS with Intel Fortran compilers

I seem to be missing something when attempting to use NVBLAS with the Intel Fortran compilers. I appear to be linking and using nvblas.conf correctly as I see feedback from the initialization of NVBLAS at runtime. However, NVBLAS does not seem to…
-1
votes
1 answer

NVBLAS through CBLAS

I have a C++ code and I used CBLAS to compute dgemm and dtrsm. I am interested to use GPUs for performance. With the tests I have done I could use NVBLAS using nvblas.h, however it is not close to CBLAS. I think I can change my code to call dgemm…
Aznaveh
  • 558
  • 8
  • 27