-
Notifications
You must be signed in to change notification settings - Fork 364
Optimize K-Truss #4375
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
Optimize K-Truss #4375
Changes from 91 commits
be543b1
327a07e
1f00dd6
da330b3
913283d
9d2d4f7
2019d99
701e33d
0d74246
c103e52
50798d5
86fd201
aad7590
28149f7
0e69382
f893d24
30f891a
be7ed1a
e705eca
2453a6f
e69f862
2bb9cba
6a02f03
17017ec
13501fe
e5a0f2d
ca30c84
ba48f90
b5d069a
8ca19cd
0ca2953
56118f3
3463723
f047a41
52bc273
02e15e4
2030ed8
1c4ee11
5b1c248
fefddc5
0ab7906
29ed50c
f09b930
1f3f0dc
f7d67b6
1d52c84
9892314
1e26021
42a1b2a
2dfbaa4
bdac0aa
03edaa9
910075e
31162ec
566eb22
1996afa
287cd16
df1fb0e
b86697a
b0d63bb
c1d18ab
b34dc41
9d7e976
811237c
1fde802
707ee27
e486492
97609c4
09b0b96
8eec691
f88f8b0
e5f0762
463ad7c
05873bc
83bca54
f4c2fcf
d956d22
dc6136b
a83971d
bc558ff
c76746b
3c817bd
b16e37c
e4c6ce0
e6698f3
1cd35c0
a0eb24f
a34cef3
b1aeab4
533f374
ae17245
2733cec
6de56d5
5892e44
c639b76
48078e9
f88efb9
f743122
0c2f042
94a4c89
4476d8d
ed78d32
6de5304
61c6797
3743208
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -136,7 +136,7 @@ edge_property_t<graph_view_t<vertex_t, edge_t, false, multi_gpu>, edge_t> edge_t | |
| auto edge_first = thrust::make_zip_iterator(edgelist_srcs.begin(), edgelist_dsts.begin()); | ||
|
|
||
| size_t edges_to_intersect_per_iteration = | ||
| static_cast<size_t>(handle.get_device_properties().multiProcessorCount) * (1 << 17); | ||
| static_cast<size_t>(handle.get_device_properties().multiProcessorCount) * (1 << 13); | ||
|
Collaborator
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Is there a reason for 13? Should this be some sort of named constant so it's easier to change?
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. It is a good idea to expose it in order to easily control the chunk size. I temporarily set a lower value so that I can process a larger graph when running at scale |
||
|
|
||
| auto num_chunks = | ||
| raft::div_rounding_up_safe(edgelist_srcs.size(), edges_to_intersect_per_iteration); | ||
|
|
@@ -250,7 +250,7 @@ edge_property_t<graph_view_t<vertex_t, edge_t, false, multi_gpu>, edge_t> edge_t | |
| handle.get_stream()); | ||
|
|
||
| // There are still multiple copies here but is it worth sorting and reducing again? | ||
| std::tie(pair_srcs, pair_dsts, std::ignore, pair_count, std::ignore) = | ||
| std::tie(pair_srcs, pair_dsts, std::ignore, pair_count, std::ignore, std::ignore) = | ||
| shuffle_int_vertex_pairs_with_values_to_local_gpu_by_edge_partitioning<vertex_t, | ||
| edge_t, | ||
| weight_t, | ||
|
|
||
Uh oh!
There was an error while loading. Please reload this page.