pub struct Pipeline { /* private fields */ }Expand description
A compiled compute kernel. Cheap to clone.
Implementations§
Source§impl Pipeline
impl Pipeline
Sourcepub fn max_threads_per_threadgroup(&self) -> usize
pub fn max_threads_per_threadgroup(&self) -> usize
The most threads one threadgroup of this kernel may have.
Sourcepub fn execution_width(&self) -> usize
pub fn execution_width(&self) -> usize
The SIMD-group width (threads that execute in lockstep).
Trait Implementations§
Auto Trait Implementations§
impl !RefUnwindSafe for Pipeline
impl !UnwindSafe for Pipeline
impl Freeze for Pipeline
impl Send for Pipeline
impl Sync for Pipeline
impl Unpin for Pipeline
impl UnsafeUnpin for Pipeline
Blanket Implementations§
impl<T> AutoreleaseSafe for Twhere
T: ?Sized,
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