update_edge_src_dst_property.cuh#
-
namespace cugraph
Functions
-
template<typename GraphViewType, typename VertexPropertyInputIterator, typename EdgeSrcValueOutputWrapper>
void update_edge_src_property( - raft::handle_t const &handle,
- GraphViewType const &graph_view,
- VertexPropertyInputIterator vertex_property_input_first,
- EdgeSrcValueOutputWrapper edge_src_property_output,
- bool do_expensive_check = false
Update graph edge source property values from the input vertex property values.
This version updates graph edge source property values for the entire edge source ranges (assigned to this process in multi-GPU).
- Template Parameters:
GraphViewType – Type of the passed non-owning graph object.
VertexPropertyInputIterator – Type of the iterator for vertex property values.
EdgeSrcValueOutputWrapper – Type of the wrapper for output edge source property values.
- Parameters:
handle – RAFT handle object to encapsulate resources (e.g. CUDA stream, communicator, and handles to various CUDA libraries) to run graph algorithms.
graph_view – Non-owning graph object.
vertex_property_input_first – Iterator pointing to the vertex property value for the first (inclusive) vertex (of the vertex partition assigned to this process in multi-GPU).
vertex_property_input_last(exclusive) is deduced asvertex_property_input_first+graph_view.local_vertex_partition_range_size().edge_partition_src_property_output – edge_src_property_view_t class object to store source property values (for the edge sources assigned to this process in multi-GPU).
do_expensive_check – A flag to run expensive checks for input arguments (if set to
true).
-
template<typename GraphViewType, typename VertexIterator, typename VertexPropertyInputIterator, typename EdgeSrcValueOutputWrapper>
void update_edge_src_property( - raft::handle_t const &handle,
- GraphViewType const &graph_view,
- VertexIterator sorted_unique_vertex_first,
- VertexIterator sorted_unique_vertex_last,
- VertexPropertyInputIterator sorted_unique_vertex_property_input_first,
- EdgeSrcValueOutputWrapper edge_src_property_output,
- bool do_expensive_check = false
Update graph edge source property values from the input vertex property values.
This version updates only a subset of graph edge source property values. [
sorted_unique_vertex_first,sorted_unique_vertex_last) specifies the vertices with new property values to be updated.- Template Parameters:
GraphViewType – Type of the passed non-owning graph object.
VertexIterator – Type of the iterator for vertex identifiers.
VertexPropertyInputIterator – Type of the iterator for vertex property values.
EdgeSrcValueOutputWrapper – Type of the wrapper for output edge source property values.
- Parameters:
handle – RAFT handle object to encapsulate resources (e.g. CUDA stream, communicator, and handles to various CUDA libraries) to run graph algorithms.
graph_view – Non-owning graph object.
sorted_unique_vertex_first – Iterator pointing to the first (inclusive) vertex with a new value to be updated. v in [sorted_unique_vertex_first, sorted_unique_vertex_last) should be sorted & distinct (and should belong to the vertex partition assigned to this process in multi-GPU), otherwise undefined behavior.
sorted_unique_vertex_last – Iterator pointing to the last (exclusive) vertex with a new value.
sorted_unique_vertex_property_input_first – Iterator pointing to the vertex property values for the first (inclusive) vertex in [
sorted_unique_vertex_first, @psorted_unique_vertex_last).sorted_unique_vertex_property_input_last(exclusive) is deduced assorted_unique_vertex_property_input_first+ cuda::std::distance(sorted_unique_vertex_first,sorted_unique_vertex_last).edge_partition_src_property_output – edge_src_property_view_t class object to store source property values (for the edge sources assigned to this process in multi-GPU).
do_expensive_check – A flag to run expensive checks for input arguments (if set to
true).
-
template<typename GraphViewType, typename VertexPropertyInputIterator, typename EdgeDstValueOutputWrapper>
void update_edge_dst_property( - raft::handle_t const &handle,
- GraphViewType const &graph_view,
- VertexPropertyInputIterator vertex_property_input_first,
- EdgeDstValueOutputWrapper edge_dst_property_output,
- bool do_expensive_check = false
Update graph edge destination property values from the input vertex property values.
This version updates graph edge destination property values for the entire edge destination ranges (assigned to this process in multi-GPU).
- Template Parameters:
GraphViewType – Type of the passed non-owning graph object.
VertexPropertyInputIterator – Type of the iterator for vertex property values.
EdgeDstValueOutputWrapper – Type of the wrapper for output edge destination property values.
- Parameters:
handle – RAFT handle object to encapsulate resources (e.g. CUDA stream, communicator, and handles to various CUDA libraries) to run graph algorithms.
graph_view – Non-owning graph object.
vertex_property_input_first – Iterator pointing to the vertex property value for the first (inclusive) vertex (of the vertex partition assigned to this process in multi-GPU).
vertex_property_input_last(exclusive) is deduced asvertex_property_input_first+graph_view.local_vertex_partition_range_size().edge_partition_dst_property_output – edge_dst_property_view_t class object to store destination property values (for the edge destinations assigned to this process in multi-GPU).
do_expensive_check – A flag to run expensive checks for input arguments (if set to
true).
-
template<typename GraphViewType, typename VertexIterator, typename VertexPropertyInputIterator, typename EdgeDstValueOutputWrapper>
void update_edge_dst_property( - raft::handle_t const &handle,
- GraphViewType const &graph_view,
- VertexIterator sorted_unique_vertex_first,
- VertexIterator sorted_unique_vertex_last,
- VertexPropertyInputIterator sorted_unique_vertex_property_input_first,
- EdgeDstValueOutputWrapper edge_dst_property_output,
- bool do_expensive_check = false
Update graph edge destination property values from the input vertex property values.
This version updates only a subset of graph edge destination property values. [
sorted_unique_vertex_first,sorted_unique_vertex_last) specifies the vertices with new property values to be updated.- Template Parameters:
GraphViewType – Type of the passed non-owning graph object.
VertexIterator – Type of the iterator for vertex identifiers.
VertexPropertyInputIterator – Type of the iterator for vertex property values.
EdgeDstValueOutputWrapper – Type of the wrapper for output edge destination property values.
- Parameters:
handle – RAFT handle object to encapsulate resources (e.g. CUDA stream, communicator, and handles to various CUDA libraries) to run graph algorithms.
graph_view – Non-owning graph object.
sorted_unique_vertex_first – Iterator pointing to the first (inclusive) vertex with a new value to be updated. v in [sorted_unique_vertex_first, sorted_unique_vertex_last) should be sorted & distinct (and should belong to the vertex partition assigned to this process in multi-GPU), otherwise undefined behavior.
sorted_unique_vertex_last – Iterator pointing to the last (exclusive) vertex with a new value.
sorted_unique_vertex_property_input_first – Iterator pointing to the vertex property values for the first (inclusive) vertex in [
sorted_unique_vertex_first, @psorted_unique_vertex_last).sorted_unique_vertex_property_input_last(exclusive) is deduced assorted_unique_vertex_property_input_first+ cuda::std::distance(sorted_unique_vertex_first,sorted_unique_vertex_last).edge_partition_dst_property_output – edge_dst_property_view_t class object to store destination property values (for the edge destinations assigned to this process in multi-GPU).
do_expensive_check – A flag to run expensive checks for input arguments (if set to
true).
-
namespace detail
Functions
-
template<typename BoolInputIterator, typename PackedBoolOutputIterator>
void pack_bools( - raft::handle_t const &handle,
- BoolInputIterator input_first,
- BoolInputIterator input_last,
- PackedBoolOutputIterator output_first
-
template<typename BoolInputIterator, typename PackedBoolOutputIterator>
void pack_unaligned_bools( - raft::handle_t const &handle,
- BoolInputIterator input_first,
- BoolInputIterator input_last,
- PackedBoolOutputIterator output_first,
- size_t intraword_start_offset
-
template<typename GraphViewType, typename VertexPropertyInputIterator, typename EdgeMajorPropertyOutputWrapper>
void update_edge_major_property( - raft::handle_t const &handle,
- GraphViewType const &graph_view,
- VertexPropertyInputIterator vertex_property_input_first,
- EdgeMajorPropertyOutputWrapper edge_major_property_output
-
template<typename GraphViewType, typename VertexIterator, typename VertexPropertyInputIterator, typename EdgeMajorPropertyOutputWrapper>
void update_edge_major_property( - raft::handle_t const &handle,
- GraphViewType const &graph_view,
- VertexIterator sorted_unique_vertex_first,
- VertexIterator sorted_unique_vertex_last,
- VertexPropertyInputIterator sorted_unique_vertex_property_input_first,
- EdgeMajorPropertyOutputWrapper edge_major_property_output
-
template<typename GraphViewType, typename VertexPropertyInputIterator, typename EdgeMinorPropertyOutputWrapper>
void update_edge_minor_property( - raft::handle_t const &handle,
- GraphViewType const &graph_view,
- VertexPropertyInputIterator vertex_property_input_first,
- EdgeMinorPropertyOutputWrapper edge_minor_property_output
-
template<typename GraphViewType, typename VertexIterator, typename VertexPropertyInputIterator, typename EdgeMinorPropertyOutputWrapper>
void update_edge_minor_property( - raft::handle_t const &handle,
- GraphViewType const &graph_view,
- VertexIterator sorted_unique_vertex_first,
- VertexIterator sorted_unique_vertex_last,
- VertexPropertyInputIterator sorted_unique_vertex_property_input_first,
- EdgeMinorPropertyOutputWrapper edge_minor_property_output
-
template<typename BoolInputIterator, typename PackedBoolOutputIterator>
-
template<typename GraphViewType, typename VertexPropertyInputIterator, typename EdgeSrcValueOutputWrapper>