Safe Haskell | None |
---|---|
Language | Haskell2010 |
Code generation for SegScan
. Dispatches to either a
single-pass or two-pass implementation, depending on the nature of
the scan and the chosen abckend.
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.