luwen-if 0.4.4

Generic interface to Tenstorrent ai accelerators, abstracting the details of communication
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
// SPDX-FileCopyrightText: © 2023 Tenstorrent Inc.
// SPDX-License-Identifier: Apache-2.0

/// Luwen-if implements all high level functions in a backend agnostic way.
/// In the simplest terms this includes everything defined in `ChipImpl`, `HlComms` and `detect_chips`.
/// But this also includes chip specific functions which can be found in `Wormhole` and `Grayskull` chips.
///
mod arc_msg;
pub mod chip;
mod detect_chips;
pub mod error;
mod interface;

pub use arc_msg::{ArcMsg, ArcMsgError, ArcMsgOk, ArcMsgProtocolError, ArcState, TypedArcMsg};
pub use chip::eth_addr::{EthAddr, IntoChip};
pub use chip::ChipImpl;
pub use detect_chips::{detect_chips, detect_chips_silent, ChipDetectOptions, UninitChip};
pub use interface::{CallbackStorage, DeviceInfo, FnAxi, FnDriver, FnNoc, FnOptions, FnRemote};