[][src]Function opencl3::memory::svm_free

pub fn svm_free(context: *mut c_void, svm_pointer: *mut c_void)

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.