|
SOLUTIONS
|
OPENCLLINK SYMBOL
OpenCLMemoryUnload
unloads OpenCLMemory from the OpenCLLink memory manager.
DetailsDetails
- The OpenCLLink application must be loaded using Needs["OpenCLLink`"].
- OpenCLMemory is returned by OpenCLMemoryLoad or OpenCLMemoryAllocate.
returns Null when successful.
ExamplesExamplesopen allclose all
Basic Examples (1)Basic Examples (1)
First, load the OpenCLLink application:
| In[1]:= |
This registers the list ConstantArray[0, 10] with the OpenCLLink memory manager, returning an OpenCLMemory handle:
| In[2]:= |
| Out[2]= |
This unloads the memory registered:
| In[3]:= |
Mathematica 9 is now available!
New to Mathematica?
Find your learning path »
Have a question?
Ask support »
