OpenACC: a new Standard for Parallel Computing


OpenACC is a new standard for parallel programming developed by NVIDIA, PGI (the Portland Group) and Cray and unveiled during the SC11 (conference for high performance computing).

OpenACC is not a new language. It allows programmers to define which areas of code (C++, Fortran) to accelerate using directives like this one:

float f(int n, float* v1, float* v2)
  int i;
  float sum = 0;
  #pragma acc region for
  for (i=0; i<n; i++)
    // Do some heavy computations here!
  return sum;

Currently, only NVIDIA CUDA accelerators will take advantage of OpenACC.

Useful links:


↑ Grab this Headline Animator