OpenCLMemoryUnload
This feature is not supported on the Wolfram Cloud.

OpenCLMemoryUnload[mem1,mem2,]
unloads OpenCLMemory from the OpenCLLink memory manager.

DetailsDetails

ExamplesExamplesopen allclose all

Basic Examples  (1)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