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