pub struct Kernel { /* private fields */ }Expand description
A loaded, compiled GPU kernel.
Can be launched on the GPU.
The #[kernel] macro adds a launch function that takes a &LaunchConfig
as first argument and all kernel arguments afterwards.
Implementations§
Trait Implementations§
impl Send for Kernel
Available on neither AMD GPU nor NVidia GPU.
impl Sync for Kernel
Available on neither AMD GPU nor NVidia GPU.
Auto Trait Implementations§
impl Freeze for Kernel
impl RefUnwindSafe for Kernel
impl Unpin for Kernel
impl UnsafeUnpin for Kernel
impl UnwindSafe for Kernel
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