kernel_for
kernel_for(
backend: str ,
)
Return the kernel this class runs for a backend, or None.
Each class in the MRO is asked for a kernel registered for the backend, then numpy_kernel for NumPy or kernel for other arrays, with a NumPy fallback if needed, before moving up: a subclass which wrote its own kernel means it, and a backend kernel registered against its parent must not answer for it. A backend other than NumPy first loads its dascore.kernels entry points, once.
The lazy backend never falls back unasked: the first class which computes anything is answered by its own registered lazy kernel, or else by lazy_kernel, which runs the operation by its chunk contract, or refuses it unless the numpy_fallback setting lets the data be read into memory.