Add rudimentary tests

This commit is contained in:
2023-06-22 17:24:35 +02:00
parent ea492c9ab9
commit bf23b2c175
6 changed files with 47 additions and 22 deletions

View File

@@ -0,0 +1,26 @@
module MetagraphOptimization
import Base.show
import Base.==
import Base.in
include("tasks.jl")
include("nodes.jl")
include("graph.jl")
include("task_functions.jl")
include("node_functions.jl")
include("graph_functions.jl")
include("graph_operations.jl")
include("import.jl")
include("utility.jl")
export Node, Edge, ComputeTaskNode, DataTaskNode, DAG
export AbstractTask, AbstractComputeTask, AbstractDataTask, DataTask, ComputeTaskP, ComputeTaskS1, ComputeTaskS2, ComputeTaskV, ComputeTaskU, ComputeTaskSum, FusedComputeTask
export make_node, make_edge, insert_node, insert_edge, is_entry_node, is_exit_node, parents, children, compute, graph_properties, get_exit_node, is_valid
export node_fusion, node_reduction, node_split, generate_options
export import_txt
export ==, in, show
export bytes_to_human_readable
end # module MetagraphOptimization