필터 지우기
필터 지우기

Mex CUBLAS and CBLAS on R2014a linux

조회 수: 4 (최근 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 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