You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In both OpenACC parallel and kernel directives it is not needed to do copyin/copyout/create (any data clause actually) for scalars. Scalars are passed to the GPu kernel generated by the compiler as parameters of the kernel function call. Forcing them with copyin/copyout results is extra unnecessary data movement.
https://github.com/QEF/qe_test_openacc/blob/phonon_gpu_develop/PHonon/PH/dvqpsi_us.f90#L141
In both OpenACC
parallel
andkernel
directives it is not needed to docopyin
/copyout
/create
(any data clause actually) for scalars. Scalars are passed to the GPu kernel generated by the compiler as parameters of the kernel function call. Forcing them with copyin/copyout results is extra unnecessary data movement.This:
can be purged.
Similar here
qe_test_openacc/PHonon/PH/dvqpsi_us.f90
Line 183 in a37c0ec
The text was updated successfully, but these errors were encountered: