Intel® oneAPI Math Kernel Library
Ask questions and share information with other developers who use Intel® Math Kernel Library.
7266 Discussions

Are type sizes consistent cross platform ??

newton_particle
Débutant
997 Visites

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
------

0 Compliments
2 Réponses
Shane_S_Intel
Employé
997 Visites
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

0 Compliments
newton_particle
Débutant
997 Visites


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 :)

0 Compliments
Répondre