djval
djval

Reputation: 11

How to create an array of pointers for dgemm_batch with fortran?

I want to use the mkl subroutine dgemm_batch in a fortran code. Reference manual can be found here

I want to know how to create an array of pointers for the a_array, b_array and c_array?

The intel manual implies that there are actually of type integer not pointer.

Upvotes: 1

Views: 132

Answers (1)

In Intel Fortran and some other compilers you can get an address of an object by a non-standard function LOC(). It is not a standard Fortran function, but passing pointers in an integer array is not a standard way either.

Upvotes: 1

Related Questions