Intel® oneAPI Data Parallel C++
Support for Intel® oneAPI DPC++ Compiler, Intel® oneAPI DPC++ Library, Intel® DPC++ Compatibility Tool, and GDB*
Announcements
This community is designed for sharing of public information. Please do not share Intel or third-party confidential information here.
350 Discussions

matrix_mul_mkl sample fails with Windows with debug build

spiovesan
Beginner
160 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