-
Notifications
You must be signed in to change notification settings - Fork 225
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add unit tests for lib/utils/graph
#842
Closed
lambda7xx
wants to merge
102
commits into
flexflow:repo-refactor
from
lambda7xx:repo-refactor-lambda
Closed
Changes from all commits
Commits
Show all changes
102 commits
Select commit
Hold shift + click to select a range
0fc19a0
fix the inplace_sorted_by in container.h
lambda7xx cbb6d12
start to implement the contract revelant
lambda7xx c20e1a6
finish other method except unsafe related
lambda7xx b9ba680
add implement for the unsafe_create
lambda7xx 881ecee
add test for algorithm
lambda7xx 1525999
add test for algorithm
lambda7xx b138d36
refine the code according to the PR
lambda7xx 7368510
refine the PR
lambda7xx 666cf82
fix the doctest
lambda7xx 2ac1e11
refine the code
lambda7xx 2b82bfc
fix the bug
lambda7xx 1ccf5c4
modify the get_imm_post_dominator
lambda7xx e83b24c
fix the lib/CMakeLists.txt
lambda7xx 375053e
refine the get_weakly_connected_components
lambda7xx 1c8395b
modfiy the lib/CMakeLists.txt
lambda7xx f2ef339
refine the utils
lambda7xx 380d1df
fix the get_mutable
lambda7xx 20e6835
implement the add_nodes(DiGraph)
lambda7xx dad3729
use DiGraph::create<AdjacencyDiGraph>() to replacee AdjacncyDiGraph
lambda7xx 19b8df1
use DiGraphView to implement the DiGraph::query_nodes
lambda7xx 179d7c3
use MultiDiGraph in test
lambda7xx 9a372af
remove std::hash for JoinNodeKey
lambda7xx 8b73684
use the fmt
lambda7xx 79237b1
use the optional to replace tl::optional in algorithm.cc
lambda7xx e54ba53
refine the code
lambda7xx c850cdd
merge the repo-refactor
lambda7xx a85093d
format the code
lambda7xx 05bd453
merge the conflict
lambda7xx 6691b9e
format
lambda7xx fe7d467
need to implement the query_keys and query_values in query_set.h
lambda7xx cd7fef3
implement the query_values and query_keys for std::unordered_map and …
lambda7xx 66f72db
format the code
lambda7xx 42178e7
fix the bug of query_set.h
lambda7xx 6486f20
add test_adjacency_multidigraph.cc
lambda7xx d27500b
add algorithm test and format the code
lambda7xx fe5e4cc
remove the unuseful
lambda7xx 10dcbd5
leave the ViewOpenMultiDiGraphAsMultiDiGraph::query_edges
lambda7xx d1eced5
implement the ViewOpenMultiDiGraphAsMultiDiGraph::query_edges
lambda7xx 98e7257
format the code
lambda7xx 60aa7ee
fix the bug of containers
lambda7xx eb6b199
fix the bug in algorithm.cc and add test for method like get_imm_domi…
lambda7xx 9444396
format the code
lambda7xx 68faffb
use the unsafe_create
lambda7xx 9de95f0
try to fix the undirected
lambda7xx 25d1053
make UndirectedGraphView(std::shared_ptr<IUndirectedGraphView const> …
lambda7xx b280046
change the return type of get_neightbors
lambda7xx 4420c7a
use for loop in add_nodes
lambda7xx 59aa3e5
remove friend in MultiDiGraphView
lambda7xx 7343074
remove friend and format the code
lambda7xx f3eba69
format the code and fix the public
lambda7xx c029fbd
use filter in views
lambda7xx b02df09
do not use loop in test_algorithms
lambda7xx 6befe95
use add_nodes, add_edges in MultiDiGraph
lambda7xx 842521f
use add_nodes in DiGraph
lambda7xx 5b8c45c
modify the test
lambda7xx 5db5127
add comments for unsafe_create
lambda7xx 4f93df8
refine the comment for unsafe_create
lambda7xx e7b08eb
fix the changes and remove operator==
lambda7xx 7a33ab3
remove the add_nodes and add_edges in DiGraph
lambda7xx 9caa99b
remove with_src_node
lambda7xx 6d7c993
add get_neightbors for UndirectedGraphView
lambda7xx 2bf13e3
have some bug for get_connected_components(UndirectedGraphView const…
lambda7xx 91c5c06
add test for weakly_connect_components
lambda7xx 1ae4b30
remove tl::nullopt
lambda7xx ac41888
remove comment
lambda7xx ba9e04f
remove the filter_keys for bidict
lambda7xx 85e11ad
have some problem in JoinNodeKey
lambda7xx 24ab826
remove the t1::nullopt
lambda7xx 734638f
Merge branch 'repo-refactor-lambda' of https://github.com/lambda7xx/F…
lambda7xx aaeee48
update
lambda7xx 323a84f
use includes to replace allowd_values
lambda7xx 40b4a34
fix the cmake
lambda7xx 70457af
fix test_algorithms
lambda7xx 9b42d51
remove the comment
lambda7xx 520aef9
do not use declaration
lambda7xx 7ca5fb2
remove the cmake
lambda7xx ab5514c
add struct should_only_be_used_internally_tag_t
lambda7xx 37cd86a
finish the graphview
lambda7xx 6f0a8f9
remove unsafe_create
lambda7xx 8c1dd82
fix the cmake
lambda7xx 8aa6876
check the whole std::unordered_map in get_imm_dominators
lambda7xx 800be38
refine the comment for unsafe_create
lambda7xx e46b406
fix the bug in traversal.cc(udi &udi::operator++())
lambda7xx 2a8f8a6
fix the cmake
lambda7xx dde0276
fix the undirect.h
lambda7xx 64a176a
add internal_only_tag.h
lambda7xx 0db6501
fix the undirect.h
lambda7xx 8e01061
use unsafe_create_without_ownerhip to replace unsafe_create
lambda7xx f8f22b9
use req<direction> in struct JoinNodeKey
lambda7xx c997b8e
fix the struct JoinNodeKey
lambda7xx 6b651d2
add UndirectedGraphView as_undirected(MultiDiGraphView const &)
lambda7xx 0bf0f2b
refine the get_imm_post_dominator
lambda7xx aee68ce
refine the comment for unsafe_create_without_ownership
lambda7xx 076a1b8
fix the UndirectedGraph::operator UndirectedGraphView
lambda7xx d358ce8
refine the test
lambda7xx 821b9cb
has some bug about the get_neighbors
lambda7xx 6a075fc
convert DiGraph to Graph
lambda7xx db61338
remove the unsafe
lambda7xx 9f0c44e
refine the node
lambda7xx f1b06d9
refine the query_intersection
lambda7xx efe5b84
refine the query_intersection
lambda7xx 3429a78
refine the glgorith,s
lambda7xx File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,8 @@ | ||
add_subdirectory(pcg) | ||
add_subdirectory(compiler) | ||
#add_subdirectory(pcg) | ||
#add_subdirectory(compiler) | ||
# add_subdirectory(runtime) | ||
add_subdirectory(op-attrs) | ||
add_subdirectory(kernels) | ||
#add_subdirectory(op-attrs) | ||
#add_subdirectory(kernels) | ||
add_subdirectory(utils) | ||
# add_subdirectory(ffi) | ||
add_subdirectory(substitutions) | ||
#add_subdirectory(substitutions) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Replace with
fmt