Safe Haskell | None |
---|---|
Language | Haskell2010 |
Synopsis
- generateBoilerplate :: String -> String -> [Name] -> Map KernelName KernelSafety -> [PrimType] -> Map Name SizeClass -> [FailureMsg] -> CompilerM OpenCL () ()
- profilingEvent :: Name -> Exp
- copyDevToDev :: Name
- copyDevToHost :: Name
- copyHostToDev :: Name
- copyScalarToDev :: Name
- copyScalarFromDev :: Name
- commonOptions :: [Option]
- failureSwitch :: [FailureMsg] -> Stm
- costCentreReport :: [Name] -> [BlockItem]
- kernelRuntime :: KernelName -> Name
- kernelRuns :: KernelName -> Name
Documentation
generateBoilerplate :: String -> String -> [Name] -> Map KernelName KernelSafety -> [PrimType] -> Map Name SizeClass -> [FailureMsg] -> CompilerM OpenCL () () Source #
Called after most code has been generated to generate the bulk of the boilerplate.
profilingEvent :: Name -> Exp Source #
copyDevToDev :: Name Source #
copyDevToHost :: Name Source #
copyHostToDev :: Name Source #
commonOptions :: [Option] Source #
failureSwitch :: [FailureMsg] -> Stm Source #
costCentreReport :: [Name] -> [BlockItem] Source #
kernelRuntime :: KernelName -> Name Source #
kernelRuns :: KernelName -> Name Source #