Intel® oneAPI DPC++/C++ Compiler
Talk to fellow users of Intel® oneAPI DPC++/C++ Compiler and companion tools like Intel® oneAPI DPC++ Library, Intel® DPC++ Compatibility Tool, and Intel® Distribution for GDB*
715 Discussions

matrix_mul_mkl sample fails with Windows with debug build

spiovesan
Beginner
814 Views

Hi,

I have built the oneAPI-samples\Libraries\oneMKL\matrix_mul_mkl\matrix_mul_mkl.cpp sample for Windows.

I created a new project with the oneAPI (2021.2.0) VS2019 Extension Wizard .

I added the mkl_core_dll.lib;mkl_sycl_dll.lib libraries to properly link.

Now, the Release build works, but the Debug build crashes here 

 

 

oneapi::mkl::blas::row_major::gemm()

 

 

 with the error 

 

 

Exception thrown at 0x00007FF8BF195460 (sycl.dll) in Mat_Mult_MKL.exe: 0xC0000005: Access violation reading location 0x0000000000000000.

 

 

Here are the cpp and the project files.

Best regards,
Stefano

0 Kudos
0 Replies
Reply