Quantcast
Channel: Intel® Software - Intel® oneAPI Math Kernel Library & Intel® Math Kernel Library
Viewing all articles
Browse latest Browse all 3005

FFT 3D does not work after upgrade to mkl 2019

$
0
0

Upgraded from mkl 11.0.4 to 2019, the  DftiComputeForward & DftiComputeBackward calls failed on 3d  (2d is OK), source code as below:

--- initialize

    m_inputImage = (mkl_float_complex*)MKL_malloc(sizeof(mkl_float_complex) * mnq, alignSize);
    memset(m_inputImage, 0, sizeof(mkl_float_complex)*mnq);

    long statusMKL;
    statusMKL = DftiCreateDescriptor( &LogGaborMKLDescriptor_Forward, DFTI_SINGLE,DFTI_COMPLEX, 3, len);
    if (! DftiErrorClass(statusMKL, DFTI_NO_ERROR))  return FALSE;

    long stride_in[4];
    stride_in[0] = 0; stride_in[1] = 1; stride_in[2] = m; stride_in[3] = m*n;
    statusMKL = DftiSetValue(LogGaborMKLDescriptor_Forward, DFTI_INPUT_STRIDES, stride_in);

    statusMKL = DftiCommitDescriptor(LogGaborMKLDescriptor_Forward);
    if (! DftiErrorClass(statusMKL, DFTI_NO_ERROR))  return FALSE;

--- call 

    long statusMKL = DftiComputeForward(LogGaborMKLDescriptor_Forward, m_inputImage);

--------------

Debug shows an error code 9 (DFTI_1D_LENGTH_EXCEEDS_INT32 )  from DftiCommitDescriptor.  

Our code is linking with these libraries: mkl_core_dll.lib;mkl_intel_lp64_dll.lib;mkl_intel_thread_dll.lib

Please let me know what I can do to resolve this issue.  THANKS.


Viewing all articles
Browse latest Browse all 3005

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>