Skip to main content

CubeRuntime

Trait CubeRuntime 

Source
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§

Source

type CubeDevice: DeviceOps

The device that should also implement burn_backend::backend::DeviceOps.

Source

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".

Implementors§