Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
Code generation for segmented and non-segmented scans. Uses a fairly inefficient two-pass algorithm, but can handle anything.
Synopsis
- compileSegScan :: Pat LetDecMem -> SegLevel -> SegSpace -> [SegBinOp GPUMem] -> KernelBody GPUMem -> CallKernelGen ()
Documentation
compileSegScan :: Pat LetDecMem -> SegLevel -> SegSpace -> [SegBinOp GPUMem] -> KernelBody GPUMem -> CallKernelGen () Source #
Compile SegScan
instance to host-level code with calls to
various kernels.