Skip to content

Commit

Permalink
Update to latest parlaylib+Bazel (#85)
Browse files Browse the repository at this point in the history
  • Loading branch information
ldhulipala committed Apr 25, 2023
1 parent 9901971 commit fd5f430
Show file tree
Hide file tree
Showing 4 changed files with 19 additions and 19 deletions.
2 changes: 1 addition & 1 deletion .gitmodules
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
[submodule "parlaylib"]
path = external/parlaylib
url = https://github.com/ParAlg/parlaylib
branch = bazel_v2
branch = Bazel
32 changes: 16 additions & 16 deletions benchmarks/SCAN/IndexBased/unit_tests/BUILD
Original file line number Diff line number Diff line change
Expand Up @@ -2,22 +2,22 @@ licenses(["notice"])

load("//internal_tools:build_defs.bzl", "gbbs_cc_test")

gbbs_cc_test(
name = "scan_test",
srcs = ["scan_test.cc"],
deps = [
":similarity_measure_test_utils",
"//benchmarks/SCAN/IndexBased:scan",
"//benchmarks/SCAN/IndexBased:similarity_measure",
"//benchmarks/SCAN/IndexBased:utils",
"//gbbs:bridge",
"//gbbs:graph",
"//gbbs:vertex",
"//gbbs/helpers:undirected_edge",
"//gbbs/unit_tests:graph_test_utils",
"@googletest//:gtest_main",
],
)
#gbbs_cc_test(
# name = "scan_test",
# srcs = ["scan_test.cc"],
# deps = [
# ":similarity_measure_test_utils",
# "//benchmarks/SCAN/IndexBased:scan",
# "//benchmarks/SCAN/IndexBased:similarity_measure",
# "//benchmarks/SCAN/IndexBased:utils",
# "//gbbs:bridge",
# "//gbbs:graph",
# "//gbbs:vertex",
# "//gbbs/helpers:undirected_edge",
# "//gbbs/unit_tests:graph_test_utils",
# "@googletest//:gtest_main",
# ],
#)

#gbbs_cc_test(
# name = "similarity_measure_test",
Expand Down
2 changes: 1 addition & 1 deletion benchmarks/SCAN/IndexBased/utils.h
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ decltype(auto) CollectReduce(
const Seq& seq, Key_fn&& get_key, Value_fn&& get_value, Monoid&& reduce_fn,
size_t num_keys) {
using Value = parlay::monoid_value_type_t<Monoid>;
if (seq.empty()) {
if (seq.size() == 0) {
return sequence<Value>(num_keys, reduce_fn.identity);
}
sequence<size_t> bucketed_indices = sequence<size_t>::from_function(
Expand Down
2 changes: 1 addition & 1 deletion external/parlaylib
Submodule parlaylib updated 213 files

0 comments on commit fd5f430

Please sign in to comment.