Trait JitRuntime

Source
pub trait JitRuntime: Runtime<Device = Self::JitDevice, Server = Self::JitServer> {
    type JitDevice: DeviceOps;
    type JitServer: ComputeServer<Kernel = Box<dyn CubeTask<Self::Compiler>>, Feature = Feature>;
}
Expand description

Just-in-Time runtime extending the cube runtime.

Required Associated Types§

Source

type JitDevice: DeviceOps

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

Source

type JitServer: ComputeServer<Kernel = Box<dyn CubeTask<Self::Compiler>>, Feature = Feature>

The cube server with the JitAutotuneKey.

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§