Continuum C++ API
Unified runtime for token + tensor execution
Loading...
Searching...
No Matches
effect.hpp
Go to the documentation of this file.
1#pragma once
2
3#include <cstdint>
4
5namespace continuum::ir {
6
7enum class EffectBit : std::uint8_t {
8 Pure = 1 << 0,
9 Idem = 1 << 1,
10 Net = 1 << 2,
11 Mut = 1 << 3,
12 Stoch = 1 << 4,
13};
14
15struct Effect {
16 std::uint8_t bits = static_cast<std::uint8_t>(EffectBit::Pure);
17};
18
19} // namespace continuum::ir
Definition effect.hpp:5
EffectBit
Definition effect.hpp:7
Definition effect.hpp:15
std::uint8_t bits
Definition effect.hpp:16