Remove thread local thrust::sort (thrust::sort with the execution policy thrust::seq) from copy_v_transform_reduce_key_aggregated_out_nbr#1627
Conversation
…ad local (execution policy=thrust::seq) thrust::sort
|
@ChuckHastings This fixes the error in thrust::sort(thrust::seq, ...) calls. If I replace karate.mtx with hollywood.mtx in and run ./tests/MG_LOUVAIN_TEST I got the following error. |
ChuckHastings
left a comment
There was a problem hiding this comment.
Tested this with some other changes (will be in a separate PR) and got Louvain working on larger graphs.
Codecov Report
@@ Coverage Diff @@
## branch-21.06 #1627 +/- ##
===============================================
Coverage ? 59.93%
===============================================
Files ? 79
Lines ? 3484
Branches ? 0
===============================================
Hits ? 2088
Misses ? 1396
Partials ? 0 Continue to review full report at Codecov.
|
|
@gpucibot merge |
thrust::sort(thrust::seq, ....) does not work with arbitrary large input data size and this call can fail if the array size to locally sort is large. This code replaces many thread local sort with one thrust::sort call from host.