Forum Jump

Select Group :
Select Forum :
Sorted By :
Sort Order :
From The :
 
 
Thread Tools  Search this thread 
bentomkins
July 19, 2008 3:08 PM PDT
Typo in the manual for FORTRAN Pack functions
I just noticed that there is a typo in the mkl reference manual for the FORTRAN Pack functions:

Fortran:
call vsPackI( n, a, inca, y )
call vsPackV( n, a, ia, y )
call vsPackM( n, a, ma, y )
call vdPackI( n, a, inca, y )
call vdPackV( n, a, ia, y )
call vdPackM( n, a, ma, y )  // is this not the C interface ??

I presume these should be:

Fortran:
call vspacki( n, a, inca, y )
call vspackv( n, a, ia, y )
call vspackm( n, a, ma, y )
call vdpacki( n, a, inca, y )
call vdpackv( n, a, ia, y )
call vdpackm( n, a, ma, y )


tim18
Total Points: 25257
Status Points: 24757
Brown Belt
July 19, 2008 6:49 PM PDT
Rate
 
#1
Makes no difference, unless you have a compiler which can preserve mixed case external identifiers.
bentomkins
July 20, 2008 8:18 AM PDT
Rate
 
#2 Reply to #1
I was just pointing it out because there are 2 case-sensitive versions in the vml functions header that have different definitions:

_Vml_Api(void,vsPackI,(MKL_INT n,  const float  a[], const MKL_INT   incra, float  y[]))
_vml_api(void,vspacki,(MKL_INT *n, const float  a[], const MKL_INT * incra, float  y[]))

Was just an observation to correct the manual for the next release.

Also, it should be noted that the header parameter names are also not consistent. i.e. 'inca' in the manual is 'incra' in the header.

Andrey Nikolaev (Intel)
Total Points: 690
Status Points: 190
Brown Belt
July 21, 2008 4:53 AM PDT
Rate
 
#3 Reply to #2

Thank you for communication about the misprint in MKL Manual. We will fix the typo in the future releases of the library.


Forum Statistics

4387 users have contributed to 23806 threads and 69073 posts to date.
In the past 24 hours, we have 10 new thread(s) 28 new posts(s), and 37 new user(s).

In the past 3 days, the most popular thread for everyone has been OpenMP compile error The post with the most views is Passing slice of array pointer to sub The most posts were made to

Please welcome our newest member Zhu Wang (Intel)