vyre 0.4.0

GPU compute intermediate representation with a standard operation library
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
use crate::ops::OpSpec;

/// Test-only operation used to verify recursive call-depth validation.
pub static TEST_OP_1: OpSpec = OpSpec::composition_inlinable("test.op1", &[], &[], &[], || {
    crate::ir::Program::new(
        vec![],
        [1, 1, 1],
        vec![crate::ir::Node::let_bind(
            "x",
            crate::ir::Expr::call("test.op2", vec![]),
        )],
    )
});