Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Tom__Eli
Beginner
82 Views

2D Correlation fail

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
82 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

 

Gennady_F_Intel
Moderator
82 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);
    }

Tom__Eli
Beginner
82 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
Reply