Struct opencl3::svm::SvmVec [−][src]
pub struct SvmVec<'a, T> { /* fields omitted */ }
Expand description
An OpenCL Shared Virtual Memory (SVM) vector.
It has the lifetime of the Context that it was constructed from.
Note: T cannot be a “zero sized type” (ZST).
Implementations
pub fn with_capacity(
context: &'a Context,
svm_capabilities: cl_device_svm_capabilities,
capacity: usize
) -> Self
pub fn with_capacity_zeroed(
context: &'a Context,
svm_capabilities: cl_device_svm_capabilities,
capacity: usize
) -> Self
Trait Implementations
Auto Trait Implementations
impl<'a, T> RefUnwindSafe for SvmVec<'a, T> where
T: RefUnwindSafe,
impl<'a, T> UnwindSafe for SvmVec<'a, T> where
T: RefUnwindSafe,