Quantcast
Channel: Intel® oneAPI Math Kernel Library & Intel® Math Kernel Library
Viewing all articles
Browse latest Browse all 2652

Compilation Errors with MKL_DIRECT_CALL_SEQ

$
0
0

Hi,

I'm compiling a cpp file that includes mkl.h and contains a single cblas_dgemm call with the following:

icpc -DMKL_DIRECT_CALL_SEQ -DMKL_ILP64 -I/opt/intel/mkl/include -c -o main.o main.cpp

Compilation breaks and I get mutliple times the following message:

error: expression must be an lvalue or a function designator
    cblas_dgemm(CblasRowMajor, CblasNoTrans, CblasNoTrans, 4, 4, 4, 1, A, 4, B, 4, 1, C, 4);

If a remove -DMKL_DIRECT_CALL_SEQ the compilation works as expected.

Is this a bug or am I doing anything wrong?

Thanks,

Daniele


Viewing all articles
Browse latest Browse all 2652

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>