cubecl_runtime/lib.rs
1#![no_std]
2#![warn(missing_docs)]
3
4//! `CubeCL` runtime crate that helps creating high performance async runtimes.
5
6#[cfg(feature = "std")]
7extern crate std;
8
9extern crate alloc;
10
11#[macro_use]
12extern crate derive_new;
13
14/// Various identifier types used in `CubeCL`.
15pub mod id;
16
17/// Kernel related traits.
18pub mod kernel;
19
20/// Stream related utilities.
21pub mod stream;
22
23/// Throughput related utilities.
24pub mod throughput;
25
26/// Compute client module.
27pub mod client;
28
29/// Autotune module
30pub mod tune;
31
32/// Memory management module.
33pub mod memory_management;
34/// Cache of per-launch kernel metadata info buffers.
35pub mod metadata_cache;
36/// Compute server module.
37pub mod server;
38/// Compute Storage module.
39pub mod storage;
40
41/// `CubeCL` config module.
42pub mod config;
43
44pub use cubecl_common::benchmark;
45
46/// Logging utilities to be used by a compute server.
47pub mod logging;
48
49/// TMA-related runtime types
50pub mod tma;
51
52/// Compiler trait and related types
53pub mod compiler;
54/// Runtime trait and related types
55pub mod runtime;
56/// Simple system profiling using timestamps.
57pub mod timestamp_profiler;
58
59/// Validation utils for shared properties
60pub mod validation;
61
62/// Allocators moddule.
63pub mod allocator;