futhark
Safe HaskellNone
LanguageGHC2021

Futhark.CodeGen.ImpGen.Multicore.SegScan

Description

Multicore code generation for SegScan. Uses a fairly naive multipass algorithm, with no particular locality optimisations.

Synopsis

Documentation

compileSegScan :: Pat LetDecMem -> SegSpace -> [Type] -> KernelBody MCMem -> [SegBinOp MCMem] -> SegPostOp MCMem -> TV Int32 -> MulticoreGen () Source #

Compile a SegScan construct.