Safe Haskell | None |
---|---|
Language | Haskell2010 |
Compile a KernelsMem
program to imperative code with kernels.
This is mostly (but not entirely) the same process no matter if we
are targeting OpenCL or CUDA. The important distinctions (the host
level code) are introduced later.
Synopsis
- compileProgOpenCL :: MonadFreshNames m => Prog KernelsMem -> m (Warnings, Program)
- compileProgCUDA :: MonadFreshNames m => Prog KernelsMem -> m (Warnings, Program)
- data Warnings
Documentation
compileProgOpenCL :: MonadFreshNames m => Prog KernelsMem -> m (Warnings, Program) Source #
Compile a KernelsMem
program to low-level parallel code, with
either CUDA or OpenCL characteristics.
compileProgCUDA :: MonadFreshNames m => Prog KernelsMem -> m (Warnings, Program) Source #
Compile a KernelsMem
program to low-level parallel code, with
either CUDA or OpenCL characteristics.