Struct cubecl_wgpu::WgpuRuntime
source · pub struct WgpuRuntime;
Expand description
Trait Implementations§
source§impl Debug for WgpuRuntime
impl Debug for WgpuRuntime
source§impl Runtime for WgpuRuntime
impl Runtime for WgpuRuntime
§type Server = WgpuServer<DynamicMemoryManagement<WgpuStorage>>
type Server = WgpuServer<DynamicMemoryManagement<WgpuStorage>>
The compute server used to run kernels and perform autotuning.
§type Channel = MutexComputeChannel<WgpuServer<DynamicMemoryManagement<WgpuStorage>>>
type Channel = MutexComputeChannel<WgpuServer<DynamicMemoryManagement<WgpuStorage>>>
The channel used to communicate with the compute server.
§type Device = WgpuDevice
type Device = WgpuDevice
The device used to retrieve the compute client.
source§fn client(device: &Self::Device) -> ComputeClient<Self::Server, Self::Channel>
fn client(device: &Self::Device) -> ComputeClient<Self::Server, Self::Channel>
Retrieve the compute client from the runtime device.
source§fn require_array_lengths() -> bool
fn require_array_lengths() -> bool
Return true if global input array lengths should be added to kernel info.
Auto Trait Implementations§
impl Freeze for WgpuRuntime
impl RefUnwindSafe for WgpuRuntime
impl Send for WgpuRuntime
impl Sync for WgpuRuntime
impl Unpin for WgpuRuntime
impl UnwindSafe for WgpuRuntime
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