openacc.org

What is OpenACC?

The OpenACC Organization is dedicated to helping the research and developer community advance science by expanding their accelerated and parallel computing skills. We have 3 areas of focus: participating in computing ecosystem development, providing training and education on programming models, resources and tools, and developing the OpenACC specification.
 

Learn More

#pragma acc data copy(A) create(Anew)
while ( error > tol  &&  iter  <  iter_max )  {
  error = 0.0;
#pragma acc kernels
  {
#pragma acc loop independent collapse(2) reduction(max:error)
  for (  int  j = 1; j < n-1;  j++ )  {
    for (  int  i = 1; i < m-1; i++ )  {
       Anew [j] [i] = 0.25 * ( A [j] [i+1] + A [j] [i-1] +
                                      A [j-1] [i] + A [j+1] [i]);
       error = max ( error, fabs (Anew [j] [i] - A [j] [i]));
      }
    }
    ...
  }
}

Latest News

Mar. 10, 2026

Mar. 3, 2026

Feb. 21, 2026

Nov. 17, 2025

Oct. 23, 2025

Upcoming Events

  • June 12, 2026

    Singapore

  • June 26, 2026

    India

  • July 15, 2026

    Hybrid Event

  • July 20, 2026

    Digital Event

Read the original on openacc.org ↗