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