- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello,
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)?
Thanks
Tracy
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)?
Thanks
Tracy
1 Solution
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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,
Ying
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,
Ying
Link Copied
2 Replies
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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,
Ying
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,
Ying
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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.
Tracy
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.
Tracy
Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page