OpenCLLink`
OpenCLLink`

OpenCLMemoryUnload

OpenCLMemoryUnload[mem1,mem2,]

unloads OpenCLMemory from the OpenCLLink memory manager.

更多信息和选项

范例

打开所有单元关闭所有单元

基本范例  (1)

First, load the OpenCLLink application:

This registers the list ConstantArray[0,10] with the OpenCLLink memory manager, returning an OpenCLMemory handle:

This unloads the memory registered:

Possible Issues  (1)

Performing actions on unloaded memory will return an error:

This unloads the memory registered:

This tries to find information about unloaded memory using OpenCLMemoryInformation:

Wolfram Research (2010),OpenCLMemoryUnload,Wolfram 语言函数,https://reference.wolfram.com/language/OpenCLLink/ref/OpenCLMemoryUnload.html.

文本

Wolfram Research (2010),OpenCLMemoryUnload,Wolfram 语言函数,https://reference.wolfram.com/language/OpenCLLink/ref/OpenCLMemoryUnload.html.

CMS

Wolfram 语言. 2010. "OpenCLMemoryUnload." Wolfram 语言与系统参考资料中心. Wolfram Research. https://reference.wolfram.com/language/OpenCLLink/ref/OpenCLMemoryUnload.html.

APA

Wolfram 语言. (2010). OpenCLMemoryUnload. Wolfram 语言与系统参考资料中心. 追溯自 https://reference.wolfram.com/language/OpenCLLink/ref/OpenCLMemoryUnload.html 年

BibTeX

@misc{reference.wolfram_2024_openclmemoryunload, author="Wolfram Research", title="{OpenCLMemoryUnload}", year="2010", howpublished="\url{https://reference.wolfram.com/language/OpenCLLink/ref/OpenCLMemoryUnload.html}", note=[Accessed: 23-November-2024 ]}

BibLaTeX

@online{reference.wolfram_2024_openclmemoryunload, organization={Wolfram Research}, title={OpenCLMemoryUnload}, year={2010}, url={https://reference.wolfram.com/language/OpenCLLink/ref/OpenCLMemoryUnload.html}, note=[Accessed: 23-November-2024 ]}