Trait ocl::WorkDims [] [src]

pub trait WorkDims {
    fn dim_count(&self) -> u32;
    fn to_work_size(&self) -> Option<[usize; 3]>;
    fn to_work_offset(&self) -> Option<[usize; 3]>;
}

Required Methods

fn dim_count(&self) -> u32

Returns the number of dimensions defined by this SimpleDims.

fn to_work_size(&self) -> Option<[usize; 3]>

fn to_work_offset(&self) -> Option<[usize; 3]>

Implementors