Continuum C++ API
Unified runtime for token + tensor execution
Loading...
Searching...
No Matches
typecheck.hpp
Go to the documentation of this file.
1
#pragma once
2
3
#include <
continuum/ir/graph.hpp
>
4
5
#include <string>
6
#include <vector>
7
8
namespace
continuum::compiler
{
9
10
struct
TypeError
{
11
ir::NodeId
node_id
= 0;
12
std::string
message
;
13
};
14
15
std::vector<TypeError>
typecheck
(
ir::Graph
& graph);
16
17
}
// namespace continuum::compiler
continuum::ir::Graph
Definition
graph.hpp:11
graph.hpp
continuum::compiler
Definition
rewrite.hpp:5
continuum::compiler::typecheck
std::vector< TypeError > typecheck(ir::Graph &graph)
continuum::ir::NodeId
std::uint64_t NodeId
Definition
node.hpp:13
continuum::compiler::TypeError
Definition
typecheck.hpp:10
continuum::compiler::TypeError::node_id
ir::NodeId node_id
Definition
typecheck.hpp:11
continuum::compiler::TypeError::message
std::string message
Definition
typecheck.hpp:12
include
continuum
compiler
typecheck.hpp
Generated by
1.9.8