Mex CUBLAS and CBLAS on R2014a linux

1 vue (au cours des 30 derniers jours)
Douglas
Douglas le 3 Mar 2016
Hi, i'm having problems using CUBLAS and CBLAS on C++ mex on Matlab R2014a (ubuntu 14.04).
1) To use the cublasSdot() function, I have used the cublas.h header and compiled "mex -v mycode.cpp -l:libcublas.so.5.5" In this first case, the cublas.h was not found even existing a libcublas.so.5.5 library in glnxa64 matlab directory.
2) To use cblas_sdot() function, I have used cblas.h and mkl.h headers and compiled "mex -v code.cpp -lmkl". As the above case, the headers cblas.h and mkl.h were not found...
Anyone can help me with this question?

Réponses (0)

Catégories

En savoir plus sur MATLAB Compiler dans Help Center et File Exchange

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by