Skip to content
Projects

tree_d_3d.kernels.pair_csr

The pair_csr kernel of the FMM on the CPU: Pyccel and NumPy versions with the same arguments.

Turns a list of mutual node pairs into rows by node (compressed sparse rows): for every node, the partners of all its pairs, so that a kernel can sum into each node without atomics.

Attributes

NameDescription
kernelNo description.

Modules

  • pair_csr_numpyThe version of the pair_csr kernel for machines without Pyccel.
  • pair_csr_pyccelThe Pyccel version (CPU) of the pair_csr kernel of the FMM.

kernelattributemodule attribute#

kernel = KERNEL_PACKAGE.from_folder(__name__)