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

MKL from Delphi 2007

esys-intel
Beginner
1,479 Views
Where can i find files interface for MKL 10.1 ?

thanks
Lionel
0 Kudos
5 Replies
ArturGuzik
Valued Contributor I
1,479 Views
Quoting - esys-intel
Where can i find files interface for MKL 10.1 ?

thanks
Lionel
Hi,

The interfaces you can find in

mklinclude

(for both C and Fortran). All of the routines input/output types should be described in the docs, too.

What exactly are you looking for?

A.
0 Kudos
esys-intel
Beginner
1,479 Views
Quoting - ArturGuzik
Hi,

The interfaces you can find in

mklinclude

(for both C and Fortran). All of the routines input/output types should be described in the docs, too.

What exactly are you looking for?

A.


Hi,

Precisely, i searchimport files (*.pas) to call librairy functions.

thanks
Lionel
0 Kudos
ArturGuzik
Valued Contributor I
1,479 Views
Quoting - esys-intel


Hi,

Precisely, i searchimport files (*.pas) to call librairy functions.

thanks
Lionel
Well,

I'm not uware of any "ready" solution for that. I think you need to follow (sometimes painfull) scenario calling external library (from object pascal). This means adjusting calling conventions (CDECL/STDCALL for MKL and Delphi fastcall??) and passing data.

A.
0 Kudos
Gennady_F_Intel
Moderator
1,479 Views

Lionel,
MKL doesn't support such interfaces at all. As Artur mentine above, Intel MKL provides support for C and Fortran language interfaces.
--Gennady

0 Kudos
ArturGuzik
Valued Contributor I
1,479 Views

Lionel,
MKL doesn't support such interfaces at all. As Artur mentine above, Intel MKL provides support for C and Fortran language interfaces.
--Gennady


Although I lost the touch with Delphi long, long time ago, I believe I saw somewhere that it supports (?) C# interfaces now. If this is correct, then a good start would be this KB article and trying to figure out how to do this in C#. The other option is just try to communicate (CDECL calling convention) dll (MKL here) with Delphi with an advantage that you have a full control on what's going on and no need for any wrappers etc.

A.
0 Kudos
Reply