Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
Change DefaultSpace
in a program to some other memory space.
This is needed because the GPU backends use DefaultSpace
to refer
to GPU memory for most of the pipeline, but final code generation
assumes that DefaultSpace
is CPU memory.
Synopsis
- setDefaultSpace :: Space -> Definitions op -> Definitions op
Documentation
setDefaultSpace :: Space -> Definitions op -> Definitions op Source #
Set all uses of DefaultSpace
in the given definitions to another
memory space.