Function ocl_core::retain_context
source · pub unsafe fn retain_context<C>(context: C) -> Result<()>where
C: ClContextPtr,
Expand description
Increments the reference count of a context.
pub unsafe fn retain_context<C>(context: C) -> Result<()>where
C: ClContextPtr,
Increments the reference count of a context.