CUDAMemoryGet
CUDAMemoryGet[mem]
gets CUDAMemory into the CPU and the Wolfram Language.
更多信息和选项
- The CUDALink application must be loaded using Needs["CUDALink`"].
- CUDAMemory is returned by CUDAMemoryLoad or CUDAMemoryAllocate.
范例
基本范例 (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:
文本
Wolfram Research (2010),CUDAMemoryGet,Wolfram 语言函数,https://reference.wolfram.com/language/CUDALink/ref/CUDAMemoryGet.html.
CMS
Wolfram 语言. 2010. "CUDAMemoryGet." Wolfram 语言与系统参考资料中心. Wolfram Research. https://reference.wolfram.com/language/CUDALink/ref/CUDAMemoryGet.html.
APA
Wolfram 语言. (2010). CUDAMemoryGet. Wolfram 语言与系统参考资料中心. 追溯自 https://reference.wolfram.com/language/CUDALink/ref/CUDAMemoryGet.html 年