tree_d_3d.kernels.quadtree_scatter
The quadtree_scatter kernel of the Barnes-Hut and FMM solvers: 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
quadtree_scatter_metalThe Metal version (Apple-silicon GPU) of the quadtree_scatter kernel.quadtree_scatter_numpyThe NumPy version of the quadtree_scatter kernel, for machines without Pyccel.quadtree_scatter_pyccelThe Pyccel version (CPU) of the quadtree_scatter kernel of the Barnes-Hut and FMM solvers.
kernelattributemodule attribute#
kernel = xp.kernels.Kernel.from_folder(__name__, **KERNEL_OPTIONS)