[−][src]Struct emu_core::device::DeviceFnMut
Represents a compiled kernel that can then be launched across spawned threads with Device::call
or spawn
While compiling a DeviceFnMut
is expensive, running a DeviceFnMut
with varying work space dimensions or arguments incurs no significant extra compilation.
There isn't really much you will need to do with this. Just know that this is basically the final compiled kernel. It's the end of the compilation pipeline (it's generated
from SPIR-V) and is the input to the execution of your kernel.
Trait Implementations
impl From<(HashMap<u32, HashMap<u32, ArgAndParamInfo, RandomState>, RandomState>, HashMap<u32, BindGroupLayout, RandomState>, ComputePipeline)> for DeviceFnMut
[src]
fn from(
original: (HashMap<u32, HashMap<u32, ArgAndParamInfo>>, HashMap<u32, BindGroupLayout>, ComputePipeline)
) -> DeviceFnMut
[src]
original: (HashMap<u32, HashMap<u32, ArgAndParamInfo>>, HashMap<u32, BindGroupLayout>, ComputePipeline)
) -> DeviceFnMut
impl From<DeviceFnMut> for (HashMap<u32, HashMap<u32, ArgAndParamInfo>>, HashMap<u32, BindGroupLayout>, ComputePipeline)
[src]
Auto Trait Implementations
impl !RefUnwindSafe for DeviceFnMut
impl Send for DeviceFnMut
impl Sync for DeviceFnMut
impl Unpin for DeviceFnMut
impl UnwindSafe for DeviceFnMut
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T, U> AsDeviceBoxed<T> for U where
T: AsBytes + ?Sized,
U: Borrow<T>,
[src]
T: AsBytes + ?Sized,
U: Borrow<T>,
fn as_device_boxed(&Self) -> Result<DeviceBox<T>, NoDeviceError>
[src]
fn as_device_boxed_mut(&Self) -> Result<DeviceBox<T>, NoDeviceError>
[src]
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,