OpenCLLink`
OpenCLLink`

OpenCLMemoryUnload

OpenCLMemoryUnload[mem1,mem2,]

unloads OpenCLMemory from the OpenCLLink memory manager.

Details

Examples

open allclose all

Basic Examples  (1)

First, load the OpenCLLink application:

This registers the list ConstantArray[0,10] with the OpenCLLink memory manager, returning an OpenCLMemory handle:

This unloads the memory registered:

Possible Issues  (1)

Performing actions on unloaded memory will return an error:

This unloads the memory registered:

This tries to find information about unloaded memory using OpenCLMemoryInformation: