Mex CUBLAS and CBLAS on R2014a linux

1 回表示 (過去 30 日間)
Douglas
Douglas 2016 年 3 月 3 日
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 Center および File ExchangeMATLAB Compiler についてさらに検索

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by