mpifield.kernels.gather_linear_1d.gather_linear_1d_metal
The Metal version (Apple-silicon GPU, float32) of the gather_linear_1d kernel.
gather_linear_1d_pyccel.py next to this file is the CPU version with the same
arguments. One thread per marker (positions (1, N), result (components, N)); see :mod:mpifield.kernels._metal_grid.
Functions
| Name | Description |
|---|---|
gather_linear_1d | Interpolate field (nx, components) at the markers into result (components, N). |