Function opencl3::memory::svm_free [−][src]
pub fn svm_free(context: *mut c_void, svm_pointer: *mut c_void)
Expand description
Free a shared virtual memory (SVM) buffer allocated using clSVMAlloc.
Calls clSVMFree.
CL_VERSION_2_0
context
- the valid OpenCL context used to create the SVM buffer.svm_pointer
- the value returned by a call to clSVMAlloc.