OpenCLLink`
OpenCLLink`

OpenCLMemoryUnload

OpenCLMemoryUnload[mem1,mem2,]

unloads OpenCLMemory from the OpenCLLink memory manager.

Details and Options

Examples

open allclose all

Basic Examples  (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 Language function, https://reference.wolfram.com/language/OpenCLLink/ref/OpenCLMemoryUnload.html.

Text

Wolfram Research (2010), OpenCLMemoryUnload, Wolfram Language function, https://reference.wolfram.com/language/OpenCLLink/ref/OpenCLMemoryUnload.html.

CMS

Wolfram Language. 2010. "OpenCLMemoryUnload." Wolfram Language & System Documentation Center. Wolfram Research. https://reference.wolfram.com/language/OpenCLLink/ref/OpenCLMemoryUnload.html.

APA

Wolfram Language. (2010). OpenCLMemoryUnload. Wolfram Language & System Documentation Center. Retrieved from 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: 21-December-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: 21-December-2024 ]}