OpenCLMemoryGet
OpenCLMemoryGet[mem]
gets OpenCLMemory into the CPU and the Wolfram System.
Details and Options
- The OpenCLLink application must be loaded using Needs["OpenCLLink`"].
- OpenCLMemory is returned by OpenCLMemoryLoad or OpenCLMemoryAllocate.
Examples
Basic Examples (3)
First, load the OpenCLLink application:
This registers Range[10] with the OpenCLLink memory manager returning a handle to the memory:
Images can be loaded as OpenCLMemory:
When OpenCLMemory is retrieved, the original image is returned:
Graphics objects can be loaded as OpenCLMemory:
The Graphics object is rasterized when loaded:
The head of the retrieved data is an Image:
Text
Wolfram Research (2010), OpenCLMemoryGet, Wolfram Language function, https://reference.wolfram.com/language/OpenCLLink/ref/OpenCLMemoryGet.html.
CMS
Wolfram Language. 2010. "OpenCLMemoryGet." Wolfram Language & System Documentation Center. Wolfram Research. https://reference.wolfram.com/language/OpenCLLink/ref/OpenCLMemoryGet.html.
APA
Wolfram Language. (2010). OpenCLMemoryGet. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/OpenCLLink/ref/OpenCLMemoryGet.html