-
Notifications
You must be signed in to change notification settings - Fork 304
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Added Random Walks COO convertor and profiling (#1531)
This PR is used to track enhancements to Random Walks functionality: 1. Paths2COO convertor: converts coalesced vertex/weight paths to COO format + offsets (including C++ API for Cython); 2. RW profiling; 3. Moving functionality / tests out of `experimental` sub-dirs; Authors: - Andrei Schaffer (https://github.com/aschaffer) - Rick Ratzel (https://github.com/rlratzel) Approvers: - Rick Ratzel (https://github.com/rlratzel) - Chuck Hastings (https://github.com/ChuckHastings) URL: #1531
- Loading branch information
Showing
13 changed files
with
670 additions
and
11 deletions.
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -17,7 +17,7 @@ | |
// Andrei Schaffer, [email protected] | ||
// | ||
#include <algorithms.hpp> | ||
#include <experimental/random_walks.cuh> | ||
#include "random_walks.cuh" | ||
|
||
namespace cugraph { | ||
namespace experimental { | ||
|
@@ -73,6 +73,30 @@ template std:: | |
int64_t const* ptr_d_start, | ||
int64_t num_paths, | ||
int64_t max_depth); | ||
|
||
template std:: | ||
tuple<rmm::device_uvector<int32_t>, rmm::device_uvector<int32_t>, rmm::device_uvector<int32_t>> | ||
convert_paths_to_coo(raft::handle_t const& handle, | ||
int32_t coalesced_sz_v, | ||
int32_t num_paths, | ||
rmm::device_buffer&& d_coalesced_v, | ||
rmm::device_buffer&& d_sizes); | ||
|
||
template std:: | ||
tuple<rmm::device_uvector<int32_t>, rmm::device_uvector<int32_t>, rmm::device_uvector<int64_t>> | ||
convert_paths_to_coo(raft::handle_t const& handle, | ||
int64_t coalesced_sz_v, | ||
int64_t num_paths, | ||
rmm::device_buffer&& d_coalesced_v, | ||
rmm::device_buffer&& d_sizes); | ||
|
||
template std:: | ||
tuple<rmm::device_uvector<int64_t>, rmm::device_uvector<int64_t>, rmm::device_uvector<int64_t>> | ||
convert_paths_to_coo(raft::handle_t const& handle, | ||
int64_t coalesced_sz_v, | ||
int64_t num_paths, | ||
rmm::device_buffer&& d_coalesced_v, | ||
rmm::device_buffer&& d_sizes); | ||
//} | ||
} // namespace experimental | ||
} // namespace cugraph |
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.