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

VSL_CC_ERROR_ALLOCATION_FAILURE

Howard_Weiss
Beginner
361 Views
I am trying to convolve a 4094x4096 array with a 39x109 kernel using vslsconv_2d.

Example is based on example vslsconv_2d_auto.

I cannot find an explanation of what this error means and how to avoid/fix it.

Please advise.
0 Kudos
3 Replies
Gennady_F_Intel
Moderator
361 Views
Howard,
Do you encounter the similar problem in the case of smaller input arrays?
say, 1024x1024
--Gennady
0 Kudos
Howard_Weiss
Beginner
361 Views
Gennady -

Reducing the Matrix size resolved the problem
0 Kudos
Paul_S_Intel2
Employee
361 Views

Hi,

I have a similar problem. I'm convoluting a 7000x7000 matrix with a 25x25 kernel. I get the -2001 error code at the vsldConvExec step (see below). When I reduce the size of the matrix to 5000x5000 everything works fine.

I changed the MKL_DISABLE_FAST_MM by typing "setenv MKL_DISABLE_FAST_MM 1" but that didn't help.

It's hard to believe that it's not possible to use a 7000x7000 matrix; something seems fishy.

Any suggestions?

Thanks,

Paul

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

gives: ERROR: job status bad, exit with -2001

 

 

0 Kudos
Reply