- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Simple question: Intel mkl, usermanual page 32 says that the advantage of using ilp64 over lp64 is in the size of an integer. That is, with lp64 the number of elements in an array is 2^31 - 1. Does this only limit the max number of indexable elements in 1 dimension x[2^31 - 1], or is it the max number of array elements in an array of any number of dimensions?
Link Copied
1 Reply
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Quoting kisiel
Simple question: Intel mkl, usermanual page 32 says that the advantage of using ilp64 over lp64 is in the size of an integer. That is, with lp64 the number of elements in an array is 2^31 - 1. Does this only limit the max number of indexable elements in 1 dimension x[2^31 - 1], or is it the max number of array elements in an array of any number of dimensions?
Usually, in MKL, the number of elements in array is passed via scalar argument, e.g.:
res=sasum(n,x,incx)
So, in general, you should use ILP64 taking into account limitations on either value and index of integer data.
Moreover, I know at least one MKL function (PARDISO) which have even stronger limitations- not more than ~500.000.000 elements in the matrix in LP64 mode.
Regards,
Konstantin

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