calling mkl with multidimensional arrays

calling mkl with multidimensional arrays

When an MKL routine requires an array for input and/or output, is it always safe to call MKL from Fortran passing a multi-dimensional array, rather than passing a single dimensional array (with the same total size)?

3 post / 0 nuovi
Ultimo contenuto
Per informazioni complete sulle ottimizzazioni del compilatore, consultare l'Avviso sull'ottimizzazione
Best Reply

Hello Tracy,

What is the problem are you seeing? MKL support fortran interface call. So it should be safe to feed it with multi-dimension array. It will read it as single dimension array based on column-major order.
It seems more Fortan language feature other than MKL feature.

Best Regards,

Hi Ying,
Thanks for your email - I wasn't seeing any problem, I just was not sure whether I could always be sure that it would always work like that.

Lascia un commento

Eseguire l'accesso per aggiungere un commento. Non siete membri? Iscriviti oggi