GeezerVisonThe World Wide Web, restored to 800 pixels of glory. |
| Home|About|Gaming cabinet|Archives|How it works|Starter sites |
GeezerVison is showing github.com — NVBLAS
This repository was archived by the owner on Nov 10, 2017. It is now read-only.
NVBLAS
Alexander Ulanov edited this page
Nvidia has GPU-optimized BLAS-like library called cuBLAS. It does not have standard BLAS API, but since the v.6.5 it contains Fortran BLAS wrapper called NVBLAS. NVBLAS offloads most of the BLAS3 routines to GPU (or to GPUs if there are few of them installed). To use it within netlib-java, you need to:
Lets consider the usage in more details. Debian / Ubuntu installation of cuBLAS: You also need a library that has CBLAS interface and calls Fortran BLAS.
In Debian/Ubuntu it is In some distributions, in particular Fedora 19 and RedHat 6.x, You cannot use CBLAS from ATLAS or OpenBLAS because it links to their own functions and not to Fortran BLAS.
In this case you need to build reference BLAS and then CBLAS into shared library By the way, RedHat 6.x has an older GCC compiler that has libgfortran library that is incompatible with netlib-java wrappers, so you might want to consider compiling GCC at least 4.8.2. Add to you path: Load NVBLAS symbols before executing your code: At the end, you should make shure that NVBLAS is being used by checking GPU usage with e.g. Clone this wiki locally |
| You are visitor 01402775 — GeezerVison does not store the pages you look up. Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required. |