Safe Haskell | Safe-Inferred |
---|---|
Language | GHC2021 |
Various boilerplate definitions for the PyOpenCL backend.
Synopsis
- openClInit :: [(Name, KernelConstExp)] -> [PrimType] -> String -> ParamMap -> [FailureMsg] -> Text
Documentation
openClInit :: [(Name, KernelConstExp)] -> [PrimType] -> String -> ParamMap -> [FailureMsg] -> Text Source #
Python code (as a string) that calls the
initiatialize_opencl_object
procedure. Should be put in the
class constructor.