Using Implicit Offload Copy from C function within Fortran code?

Using Implicit Offload Copy from C function within Fortran code?

If one was to write a C function that allocated the memory and performed the offload operation, and it was called from within a Fortran code (so, ostensibly compiled with icc then ifort), could it utilize Implicit Copy, which is only set up for C/C++?

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

Are you referring to varaibles used in the lexical scope of an offload region as Implicit Copy.   Then the answer is yes.  If not an example would help to understand what you mean by Implicit copy.

Ravi,

That is the information I was looking for...thanks!!

We will keep you posted as we move down that road!

Vince

Leave a Comment

Please sign in to add a comment. Not a member? Join today