-
Notifications
You must be signed in to change notification settings - Fork 225
Implementation of frontier primitive from SYGraph #3289
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
Draft
antonio-decaro
wants to merge
43
commits into
uxlfoundation:main
Choose a base branch
from
unisa-hpc:develop
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Draft
Changes from 18 commits
Commits
Show all changes
43 commits
Select commit
Hold shift + click to select a range
f16d4d6
feat: add bitset and frontier classes with atomic operations and tests
antonio-decaro 3d19912
feat: enhance frontier class with additional operations and tests; re…
antonio-decaro 52d1098
feat: enhance frontier class with additional methods and tests for ch…
antonio-decaro df75bdf
insert compunte active kernel
antonio-decaro 6dbbc35
add compute active frontier operation
antonio-decaro 98bdf4f
bug fix
antonio-decaro 246466c
refactor: rename clear and gas methods to unset and atomic_unset for …
antonio-decaro bb4d6a4
feat: add advance operation tests for frontier class; include device …
antonio-decaro 66008a3
fixed advance operator
antonio-decaro d7f39ff
implemented async advance
antonio-decaro 542022a
add documentation for frontier
antonio-decaro 3bec274
Refactor frontier implementation and add tests
antonio-decaro 7a8d80b
add performance tests for bfs
antonio-decaro f12297f
Refactor advance function to remove expected_size parameter and optim…
antonio-decaro aa997e1
moved bitset to frontier folder
antonio-decaro c476c4b
applied clang-format
antonio-decaro 12393aa
added trailing new line to source files to complie with the CI format…
antonio-decaro 17e191d
update headers to comply with the oneDAL naming style
antonio-decaro 08944cc
primitives/frontier: remove unused dependencies from BUILD
antonio-decaro 4632056
primitives/frontier: small code cleanup in advance.hpp (comment remov…
antonio-decaro e0a9060
primitives/frontier: remove unused includes and stray blank lines in …
antonio-decaro df5e61c
Remove perf_tests target from frontier BUILD
antonio-decaro e151ade
Refactor frontier context and bitmap kernel: rename Context/ContextSt…
antonio-decaro de6f360
Remove performance testing scaffolding from frontier BFS test and ren…
antonio-decaro 8345021
Enhance code readability by adding comments and using const for varia…
antonio-decaro 70cdd25
Add copyright notices to header files in the frontier module
antonio-decaro 8368266
Refactor frontier test files: change vector to set for frontier repre…
antonio-decaro 60edb06
Refactor compute_next_frontier to use vector<bool> instead of set<uin…
antonio-decaro b453d1b
tests(frontier): add shared test utilities and wire includes; expose …
antonio-decaro f672caf
tests(frontier): switch tests to randomized graph generation and refi…
antonio-decaro ab3270e
applied clang-format to the new files
antonio-decaro 60794e8
add trailing new line to comply with format checker
antonio-decaro edecb10
Update copyright notices
antonio-decaro c5f33b9
update copyright notice and license information in frontier.hpp
antonio-decaro 1b95ff1
frontier: refactor advance.hpp — use fixed-width integers and simplif…
antonio-decaro 7e3ecb2
frontier: use std::uint64_t for sizes in bitset, frontier and frontie…
antonio-decaro ebd7374
graph: use std::uint64_t for number of nodes in csr_graph_view
antonio-decaro 6e03b2b
tests: adapt frontier and BFS tests to use std::uint64_t for counts a…
antonio-decaro 3e6a821
frontier: add element count to bitset constructor and store size
antonio-decaro cc4943e
frontier: propagate sizes and add docs and swap helper
antonio-decaro 66e6f9a
frontier: remove unnecessary bitset include from graph header
antonio-decaro 7043278
frontier/advance: rename kernel, tighten types, and polish docs/forma…
antonio-decaro 68f76fb
refactor: improve bitset layer size calculation for frontier initiali…
antonio-decaro 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 hidden or 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 hidden or 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 hidden or 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 |
|---|---|---|
| @@ -0,0 +1,3 @@ | ||
| #include "oneapi/dal/backend/primitives/frontier/frontier.hpp" | ||
| #include "oneapi/dal/backend/primitives/frontier/advance.hpp" | ||
| #include "oneapi/dal/backend/primitives/frontier/graph.hpp" |
This file contains hidden or 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 |
|---|---|---|
| @@ -0,0 +1,44 @@ | ||
| package(default_visibility = ["//visibility:public"]) | ||
| load("@onedal//dev/bazel:dal.bzl", | ||
| "dal_module", | ||
| "dal_test_suite", | ||
| ) | ||
|
|
||
| dal_module ( | ||
| name = "frontier", | ||
| auto = True, | ||
| dal_deps = [ | ||
| "@onedal//cpp/oneapi/dal/backend/primitives:common", | ||
| "@onedal//cpp/oneapi/dal/backend/primitives:blas", | ||
| "@onedal//cpp/oneapi/dal/backend/primitives/optimizers", | ||
| "@onedal//cpp/oneapi/dal/backend/primitives:sparse_blas", | ||
| ], | ||
| ) | ||
|
|
||
| dal_test_suite ( | ||
| name = "tests", | ||
| framework = "catch2", | ||
| compile_as = [ "dpc++" ], | ||
| private = True, | ||
| srcs = glob([ | ||
| "test/*_dpc.cpp", | ||
| ], exclude=[ | ||
| "test/*perf*.cpp", | ||
| ]), | ||
| dal_deps = [ | ||
| ":frontier", | ||
| ], | ||
| ) | ||
|
|
||
| dal_test_suite( | ||
| name = "perf_tests", | ||
| framework = "catch2", | ||
| compile_as = [ "dpc++" ], | ||
| private = True, | ||
| srcs = glob([ | ||
| "test/*perf_dpc.cpp", | ||
| ]), | ||
| dal_deps = [ | ||
| ":frontier", | ||
| ], | ||
| ) | ||
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.
Uh oh!
There was an error while loading. Please reload this page.