futhark-0.9.1: An optimising compiler for a functional, array-oriented language.

Safe HaskellNone
LanguageHaskell2010

Futhark.CodeGen.Backends.PyOpenCL.Boilerplate

Synopsis

Documentation

openClInit :: [PrimType] -> String -> Map Name SizeClass -> String Source #

Python code (as a string) that calls the initiatialize_opencl_object procedure. Should be put in the class constructor.

openClPrelude :: String Source #

rtspythonopencl.py embedded as a string.