enki-anu 0.1.1

BorrowEngine, task recording, and pipeline synthesis for the Enki runtime
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
use super::context::IngressContext;
use super::descriptor::ArgDescriptor;

pub trait GpuType {
    fn describe() -> ArgDescriptor;

    fn collect<'a>(&self, ctx: &mut IngressContext<'a>);
}

pub trait NamArgs {
    fn collect_all<'a>(self) -> IngressContext<'a>;

    fn describe_all() -> Vec<ArgDescriptor>;
}

pub trait GpuBufferTarget<T> {}