Wednesday, 7 August 2013

Fortran90 2d array redusction using OpenACC

Fortran90 2d array redusction using OpenACC

I trying to port a Fortran90 subroutine based on OpenMP to OpenACC.
Since OpenMP does not handle 2d array reduction I manually split the
calculation among cores and then sum the results of each cores.
Now, I'm wondering if OpenACC does handle array reduction or if I have to
proceed the same way.
If yes, is there any equivalent of OpenMP omp_get_thread_num(),
omp_get_num_procs(), and omp_get_num_threads()?
Thank you,
Éric.

No comments:

Post a Comment