Mex CUBLAS and CBLAS on R2014a linux

1 view (last 30 days)
Douglas
Douglas on 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?

Answers (0)

Categories

Find more on MATLAB Compiler in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!