Enum ocl::WorkDims
[−]
[src]
pub enum WorkDims { Unspecified, OneDim(usize), TwoDims(usize, usize), ThreeDims(usize, usize, usize), }
Defines the amount of work to be done by a kernel for each of up to three dimensions.
[UNSTABLE]: MAY BE CONSOLIDATED WITH SimpleDims
.
Variants
Unspecified
OneDim(usize)
TwoDims(usize, usize)
ThreeDims(usize, usize, usize)
Methods
impl WorkDims
[src]
fn dim_count(&self) -> u32
Returns the number of dimensions defined by this WorkDims
.
fn as_core(&self) -> Option<[usize; 3]>
Trait Implementations
impl Clone for WorkDims
[src]
fn clone(&self) -> WorkDims
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0
Performs copy-assignment from source
. Read more