OpenCLMemoryUnload

OpenCLMemoryUnload[mem1,mem2,]

unloads OpenCLMemory from the OpenCLLink memory manager.

Details

Examples

open allclose all

Basic Examples  (1)

First, load the OpenCLLink application:

In[1]:=
Click for copyable input

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

In[2]:=
Click for copyable input
Out[2]=

This unloads the memory registered:

In[3]:=
Click for copyable input

Possible Issues  (1)

See Also

OpenCLMemory  OpenCLMemoryLoad  OpenCLMemoryAllocate  OpenCLMemoryInformation

Tutorials