global local Atomic Accumulate Accumulate combines the data from the local array with data in the global array section: Fortransubroutine nga_acc(g_a, lo, hi, buf, ld, alpha) Cvoid NGA_Acc(int g_a, int lo[], int hi[], void *buf, int ld[], void *alpha) Pythonga.acc(g_a, buffer, lo=None, hi=None, alpha=None) integerg_a array handle [input] integer lo(), hi() limits on data block to be moved [input] double precision/complex buflocal buffer [input] integer ld() array of strides for local buffer [input] double precision/complex alpha arbitrary scale factor [input] 55 ga(i,j) = ga(i,j)+alpha*buf(k,l)
{}