Safe Haskell | None |
---|---|
Language | Haskell2010 |
Code generation for SegMap
is quite straightforward. The only
trick is virtualisation in case the physical number of threads is
not sufficient to cover the logical thread space. This is handled
by having actual workgroups run a loop to imitate multiple workgroups.
Synopsis
- compileSegMap :: Pattern KernelsMem -> SegLevel -> SegSpace -> KernelBody KernelsMem -> CallKernelGen ()
Documentation
compileSegMap :: Pattern KernelsMem -> SegLevel -> SegSpace -> KernelBody KernelsMem -> CallKernelGen () Source #
Compile SegMap
instance code.