Generic Gather-scatter backend for NEC Vector Engines.
|
subroutine | gs_sx_init (this, nlocal, nshared, nlcl_blks, nshrd_blks) |
| SX backend initialisation.
|
|
subroutine | gs_sx_free (this) |
| SX backend deallocation.
|
|
subroutine | gs_gather_sx (this, v, m, o, dg, u, n, gd, nb, b, op, shrd) |
| Gather kernel.
|
|
subroutine | gs_gather_kernel_add (v, m, o, dg, u, n, gd, nb, b, w) |
| Gather kernel for addition of data \( v(dg(i)) = v(dg(i)) + u(gd(i)) \).
|
|
subroutine | gs_gather_kernel_mul (v, m, o, dg, u, n, gd, nb, b, w) |
| Gather kernel for multiplication of data \( v(dg(i)) = v(dg(i)) \cdot u(gd(i)) \).
|
|
subroutine | gs_gather_kernel_min (v, m, o, dg, u, n, gd, nb, b, w) |
| Gather kernel for minimum of data \( v(dg(i)) = \min(v(dg(i)), u(gd(i))) \).
|
|
subroutine | gs_gather_kernel_max (v, m, o, dg, u, n, gd, nb, b, w) |
| Gather kernel for maximum of data \( v(dg(i)) = \max(v(dg(i)), u(gd(i))) \).
|
|
subroutine | gs_scatter_sx (this, v, m, dg, u, n, gd, nb, b, shrd, event) |
| Scatter kernel.
|
|
subroutine | gs_scatter_kernel (v, m, dg, u, n, gd, nb, b, w) |
| Scatter kernel \( u(gd(i) = v(dg(i)) \).
|
|