Safe Haskell | None |
---|---|
Language | Haskell2010 |
Compile a GPUMem
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 GPUMem -> m (Warnings, Program)
- compileProgCUDA :: MonadFreshNames m => Prog GPUMem -> m (Warnings, Program)
- data Warnings
Documentation
compileProgOpenCL :: MonadFreshNames m => Prog GPUMem -> m (Warnings, Program) Source #
Compile a GPUMem
program to low-level parallel code, with
either CUDA or OpenCL characteristics.
compileProgCUDA :: MonadFreshNames m => Prog GPUMem -> m (Warnings, Program) Source #
Compile a GPUMem
program to low-level parallel code, with
either CUDA or OpenCL characteristics.