Mex CUBLAS and CBLAS on R2014a linux

1 次查看(过去 30 天)
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?

回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Write C Functions Callable from MATLAB (MEX Files) 的更多信息

标签

Community Treasure Hunt

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

Start Hunting!

Translated by