Skip to content

Reactant kernels with KernelAbstractions ​

Loading KernelAbstractions with Reactant gives a traced array a kernel backend. A traced loop over few strata is written out, one block a stratum; a loop over more strata then runs as one kernel, so the compiled program does not grow with strata. Without KernelAbstractions every traced loop is written out. Compiling with Reactant covers the rest of a traced call.