Are type sizes consistent cross platform ??

Are type sizes consistent cross platform ??

I'm just wondering,

Are the MKL base types: single, double, complex single, complex double, always the same physical bit sizes across supported platforms?

I.e. is a Single always a 4-byte floating point value, and a Double 'always' an 8-byte value on: 32-bit, 64-bit, Itanium ... for AMD and Intel processors?

Newton
------

3 posts / 0 new
Last post
For more complete information about compiler optimizations, see our Optimization Notice.

Quoting - newton_particle

I'm just wondering,

Are the MKL base types: single, double, complex single, complex double, always the same physical bit sizes across supported platforms?

I.e. is a Single always a 4-byte floating point value, and a Double 'always' an 8-byte value on: 32-bit, 64-bit, Itanium ... for AMD and Intel processors?

Newton
------

Yes, this should be the case for floating-point types.Note that we do provide specialSP2DP interfaceson Linux side to support old Cray style calls (i.e. where SGEMM and other S**** subroutines took double precision inputs). -Shane

Quoting - Shane Story (Intel)

Yes, this should be the case for floating-point types.Note that we do provide specialSP2DP interfaceson Linux side to support old Cray style calls (i.e. where SGEMM and other S**** subroutines took double precision inputs). -Shane

Great, and thanks :)

Login to leave a comment.