Are there any methods to have date resident in GPU in Op

Hi, Dear
Are there any methods to have date resident in GPU in OpenACC? if yes, different subroutines could use the date in GPU and don’t need copy date between CPU and GPU back and forth

Hi Teslalady,

What about
Acc enter data
Acc data device resident
Global acc data section which wraps all your code
Acc mirror

Hi Sisiy,

Yes, there’s several ways to do this. Alexey points several and I’ll add “create” to that list as well as call to “acc_malloc”.

  • Mat

thanks you all very much
I will try them.

:)