pub trait CubeRuntime: Runtime<Device = Self::CubeDevice, Server = Self::CubeServer> {
type CubeDevice: DeviceOps;
type CubeServer: ComputeServer<Kernel = Box<dyn CubeTask<Self::Compiler>>>;
}Expand description
Just-in-Time runtime extending the cube runtime.
Required Associated Types§
Sourcetype CubeDevice: DeviceOps
type CubeDevice: DeviceOps
The device that should also implement burn_backend::backend::DeviceOps.
Sourcetype CubeServer: ComputeServer<Kernel = Box<dyn CubeTask<Self::Compiler>>>
type CubeServer: ComputeServer<Kernel = Box<dyn CubeTask<Self::Compiler>>>
The cube server with the CubeAutotuneKey.
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".