NVBLAS through CBLAS

100 views Asked by At

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 just like nvblas.h. Is there an easier way to link CBLAS using NVBLAS?

1

There are 1 answers

1
王保罗 On

https://docs.nvidia.com/cuda/nvblas/index.html#configuration Because NVBLAS is a drop-in replacement of BLAS, it must be configured through an ASCII text file that describes how many and which GPUs can participate in the intercepted BLAS calls. The configuration file is parsed at the time of the loading of the library. The format of the configuration file is based on keywords optionally followed by one or more user-defined parameters. At most one keyword per line is allowed. Blank lines or lines beginning with the character # are ignored.