CUDALink`
CUDALink`

CUDAMemoryGet

CUDAMemoryGet[mem]

gets CUDAMemory into the CPU and the Wolfram Language.

Details

Examples

Basic Examples  (3)

First, load the CUDALink application:

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

This retrieves the memory:

Images can be loaded as CUDAMemory:

When CUDAMemory is retrieved, the original image is returned:

Graphics objects can be loaded as CUDAMemory:

The Graphics object is rasterized when loaded:

The head of the retrieved data is an Image: