OpenCLLink`
OpenCLLink`

OpenCLMemoryGet

OpenCLMemoryGet[mem]

gets OpenCLMemory into the CPU and the Wolfram System.

Details

Examples

Basic Examples  (3)

First, load the OpenCLLink application:

This registers Range[10] with the OpenCLLink memory manager returning a handle to the memory:

This retrieves the memory:

Images can be loaded as OpenCLMemory:

When OpenCLMemory is retrieved, the original image is returned:

Graphics objects can be loaded as OpenCLMemory:

The Graphics object is rasterized when loaded:

The head of the retrieved data is an Image: