mpifield.kernels.gather_linear_3d
The gather_linear_3d kernel: Pyccel, NumPy and CUDA versions with the same arguments.
kernel(...) runs the CUDA version when the arrays are CuPy arrays, and
otherwise the Pyccel version, or the NumPy version if Pyccel is unavailable
(see cunumpy.kernels.set_host_kernel_implementation to choose).
Attributes
| Name | Description |
|---|---|
kernel | No description. |
Modules
gather_linear_3d_metalThe Metal version (Apple-silicon GPU, float32) of the gather_linear_3d kernel.gather_linear_3d_numpyThe NumPy version of the gather_linear_3d kernel, run when Pyccel is unavailable.gather_linear_3d_pyccelTrilinear interpolation of a 3D grid field at the markers.
kernelattributemodule attribute#
kernel = KERNEL_PACKAGE.from_folder(__name__)