futhark-0.25.30: An optimising compiler for a functional, array-oriented language.
Safe HaskellNone
LanguageGHC2021

Futhark.Pass.ExtractKernels.StreamKernel

Synopsis

Documentation

segThreadCapped :: forall (m :: Type -> Type). MonadFreshNames m => MkSegLevel GPU m Source #

Like segThread, but cap the thread count to the input size. This is more efficient for small kernels, e.g. summing a small array.