Struct cubecl_cuda::CudaRuntime
source · pub struct CudaRuntime;
Trait Implementations§
source§impl Debug for CudaRuntime
impl Debug for CudaRuntime
source§impl Runtime for CudaRuntime
impl Runtime for CudaRuntime
§type Compiler = CudaCompiler
type Compiler = CudaCompiler
The compiler used to compile the inner representation into tokens.
§type Server = CudaServer<DynamicMemoryManagement<CudaStorage>>
type Server = CudaServer<DynamicMemoryManagement<CudaStorage>>
The compute server used to run kernels and perform autotuning.
§type Channel = MutexComputeChannel<CudaServer<DynamicMemoryManagement<CudaStorage>>>
type Channel = MutexComputeChannel<CudaServer<DynamicMemoryManagement<CudaStorage>>>
The channel used to communicate with the compute server.
§type Device = CudaDevice
type Device = CudaDevice
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 CudaRuntime
impl RefUnwindSafe for CudaRuntime
impl Send for CudaRuntime
impl Sync for CudaRuntime
impl Unpin for CudaRuntime
impl UnwindSafe for CudaRuntime
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