pub struct ExecParams {
pub global_size: [usize; 3],
pub local_size: [usize; 3],
}Expand description
Kernel execution parameters.
Fields§
§global_size: [usize; 3]Global work size (total number of work items per dimension).
local_size: [usize; 3]Local work size (work group size per dimension).
Implementations§
Source§impl ExecParams
impl ExecParams
Trait Implementations§
Source§impl Clone for ExecParams
impl Clone for ExecParams
Source§fn clone(&self) -> ExecParams
fn clone(&self) -> ExecParams
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for ExecParams
impl Debug for ExecParams
Auto Trait Implementations§
impl Freeze for ExecParams
impl RefUnwindSafe for ExecParams
impl Send for ExecParams
impl Sync for ExecParams
impl Unpin for ExecParams
impl UnsafeUnpin for ExecParams
impl UnwindSafe for ExecParams
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more