Intel® oneAPI Math Kernel Library
Ask questions and share information with other developers who use Intel® Math Kernel Library.

2D Correlation fail

Tom__Eli
Beginner
343 Views
Hi all, I am trying to run "vsldconv_2d_direct.c" example (code attached) but fail on the call to vsldConvExec(task, x, NULL, y, NULL, z, NULL) with error VSL_CC_ERROR_XSHAPE (-2311). All other variants "vsldconv_2d_auto.c" and "vsldconv_2d_fft.c" fails the same - no surprise. Everything else works fine, including "vsldconv_1d_auto.c". I am running on Win10, Visual Studio 2017 with Microsoft compiler. MKL version: Intel(R) Math Kernel Library Version 2019.0.3 Product Build 20190125 for Intel(R) 64 architecture applications Any idea? Thanks in advance. Eli
0 Kudos
3 Replies
Gennady_F_Intel
Moderator
343 Views

I don't see such problem on my side. MKL 2019 u3. win10. 64 bit.

icl /Qmkl test.c 

>test.exe
 vsldConvExec, status  0
EXAMPLE PASSED

 

0 Kudos
Gennady_F_Intel
Moderator
343 Views

missed to add: I slightly modified your test by as follows:

status = vsldConvExec(task,x,NULL,y,NULL,z,NULL);
    if( status != VSL_STATUS_OK ){
        printf("ERROR: job status bad, exit with %d\n", status);
        return 1;
    } else {
        printf(" vsldConvExec, status  %d\n", status);
    }

0 Kudos
Tom__Eli
Beginner
343 Views
Thanks Gennady. I have tried from scratch and it is working fine now. It didn't make any sense to begin with. Thanks for your effort. Eli
0 Kudos
Reply