Expand description
Raw FFI bindings to the cuGraph C API.
Published as an Algeon implementation dependency. Applications use
algeon-datafusion; workspace code
uses this crate for its component contracts. See the
API documentation boundary.
This crate provides checked-in bindings generated with bindgen. Safe
APIs are exposed by the cugraph crate.
Re-exports§
pub use self::cugraph_error_code_ as cugraph_error_code_t;pub use self::cugraph_allocation_source_ as cugraph_allocation_source_t;pub use self::cugraph_error_failure_source_ as cugraph_error_failure_source_t;pub use self::bool_ as bool_t;pub use self::data_type_id_ as cugraph_data_type_id_t;
Structs§
- bool_
- cugraph_
allocation_ source_ - cugraph_
bfs_ predicate_ result_ t - @brief Opaque BFS predicate result type
- cugraph_
centrality_ result_ t - @brief Opaque centrality result type
- cugraph_
clustering_ result_ t - @brief Opaque clustering output
- cugraph_
coo_ list_ t - @brief Opaque COO list definition
- cugraph_
coo_ t - @brief Opaque COO definition
- cugraph_
core_ result_ t - @brief Opaque core number result type
- cugraph_
data_ mask_ t - cugraph_
degrees_ result_ t - @brief Opaque degree result type
- cugraph_
edge_ centrality_ result_ t - @brief Opaque edge centrality result type
- cugraph_
edge_ property_ t - cugraph_
edge_ property_ view_ t - cugraph_
edgelist_ t - @brief Opaque edgelist type
- cugraph_
error_ - cugraph_
error_ code_ - cugraph_
error_ failure_ source_ - @brief Provenance of an allocation failure, when the allocation owner can distinguish a logical reservation limit from physical device memory pressure.
- cugraph_
extract_ paths_ result_ t - @brief Opaque extract_paths result type
- cugraph_
graph_ properties_ t - cugraph_
graph_ t - cugraph_
hierarchical_ clustering_ result_ t - @brief Opaque hierarchical clustering output
- cugraph_
hits_ result_ t - @brief Opaque hits result type
- cugraph_
induced_ subgraph_ result_ t - @brief Opaque induced subgraph type
- cugraph_
k_ core_ result_ t - @brief Opaque k-core result type
- cugraph_
labeling_ result_ t - @brief Opaque labeling result type
- cugraph_
layout_ result_ t - @brief Opaque layout output
- cugraph_
lookup_ container_ t - @brief Opaque src-dst lookup container type
- cugraph_
lookup_ result_ t - @brief Opaque src-dst lookup result type
- cugraph_
paths_ result_ t - @brief Opaque paths result type
- cugraph_
random_ walk_ result_ t - @brief Opaque random walk result type
- cugraph_
resource_ handle_ - cugraph_
rng_ state_ t - cugraph_
sample_ result_ t - @brief Opaque neighborhood sampling result type
- cugraph_
sampling_ options_ t - @brief Opaque sampling options type
- cugraph_
similarity_ result_ t - @brief Opaque similarity result type
- cugraph_
triangle_ count_ result_ t - @brief Opaque triangle counting result type
- cugraph_
type_ erased_ device_ array_ t - cugraph_
type_ erased_ device_ array_ view_ t - cugraph_
type_ erased_ host_ array_ t - cugraph_
type_ erased_ host_ array_ view_ t - cugraph_
vertex_ pairs_ t - @brief Opaque vertex pair type
- cugraph_
vertex_ property_ t - cugraph_
vertex_ property_ view_ t - data_
type_ id_
Constants§
- cugraph_
compression_ type_ t_ COO - cugraph_
compression_ type_ t_ CSC - Compresses in CSR format. This means the row (src) column is compressed into a row pointer.
- cugraph_
compression_ type_ t_ CSR - Outputs in COO format. Default.
- cugraph_
compression_ type_ t_ DCSC - Compresses in DCSR format. This outputs an additional index that avoids empty entries in the row pointer.
- cugraph_
compression_ type_ t_ DCSR - Compresses in CSC format. This means the col (dst) column is compressed into a column pointer.
- cugraph_
generator_ distribution_ t_ POWER_ LAW - cugraph_
generator_ distribution_ t_ UNIFORM - cugraph_
k_ core_ degree_ type_ t_ K_ CORE_ DEGREE_ TYPE_ IN - cugraph_
k_ core_ degree_ type_ t_ K_ CORE_ DEGREE_ TYPE_ INOUT - Compute core_number using outgoing edges
- cugraph_
k_ core_ degree_ type_ t_ K_ CORE_ DEGREE_ TYPE_ OUT - Compute core_number using incoming edges
- cugraph_
prior_ sources_ behavior_ t_ CARRY_ OVER - Construct sources for hop k from destination vertices from hop k-1
- cugraph_
prior_ sources_ behavior_ t_ DEFAULT - cugraph_
prior_ sources_ behavior_ t_ EXCLUDE - Construct sources for hop k from destination vertices from hop k-1 and sources from hop k-1
- cugraph_
temporal_ sampling_ comparison_ t_ LAST - Time monotonically decreasing (could have multiple edges with same time)
- cugraph_
temporal_ sampling_ comparison_ t_ MONOTONICALLY_ DECREASING - Time strictly decreasing (each time is before the previous one)
- cugraph_
temporal_ sampling_ comparison_ t_ MONOTONICALLY_ INCREASING - Time strictly increasing (each time is after the previous one)
- cugraph_
temporal_ sampling_ comparison_ t_ STRICTLY_ DECREASING - Time monotonically increasing (could have multiple edges with same time)
- cugraph_
temporal_ sampling_ comparison_ t_ STRICTLY_ INCREASING
Functions§
- cugraph_
all_ ⚠pairs_ cosine_ similarity_ coefficients - @brief Perform All Pairs cosine similarity computation
- cugraph_
all_ ⚠pairs_ jaccard_ coefficients - @brief Perform All-Pairs Jaccard similarity computation
- cugraph_
all_ ⚠pairs_ overlap_ coefficients - @brief Perform All Pairs overlap similarity computation
- cugraph_
all_ ⚠pairs_ sorensen_ coefficients - @brief Perform All Pairs Sorensen similarity computation
- cugraph_
allgather ⚠ - @brief Gather edgelist
- cugraph_
analyze_ ⚠clustering_ edge_ cut - @brief Compute edge cut of the specified clustering
- cugraph_
analyze_ ⚠clustering_ modularity - @brief Compute modularity of the specified clustering
- cugraph_
analyze_ ⚠clustering_ ratio_ cut - @brief Compute ratio cut of the specified clustering
- cugraph_
balanced_ ⚠cut_ clustering - @brief Balanced cut clustering
- cugraph_
betweenness_ ⚠centrality - @brief Compute betweenness centrality
- cugraph_
bfs ⚠ - @brief Perform a breadth first search from a set of seed vertices.
- cugraph_
bfs_ ⚠predicate_ result_ free - @ingroup traversal @brief Free BFS predicate result
- cugraph_
bfs_ ⚠predicate_ result_ get_ target_ distance - @ingroup traversal @brief Return the BFS depth where a target was first discovered.
- cugraph_
bfs_ ⚠predicate_ result_ get_ target_ found - @ingroup traversal @brief Return whether a target was discovered.
- cugraph_
bfs_ ⚠with_ predicates - @brief Perform a breadth first search with optional edge, vertex, and target predicates.
- cugraph_
biased_ ⚠random_ walks - @brief Compute biased random walks
- cugraph_
build_ ⚠edge_ id_ and_ type_ to_ src_ dst_ lookup_ map - @brief Build map to lookup source and destination using edge id and type
- cugraph_
centrality_ ⚠result_ converged - @ingroup centrality @brief Returns true if the centrality algorithm converged
- cugraph_
centrality_ ⚠result_ free - @ingroup centrality @brief Free centrality result
- cugraph_
centrality_ ⚠result_ get_ num_ iterations - @ingroup centrality @brief Get the number of iterations executed from the algorithm metadata
- cugraph_
centrality_ ⚠result_ get_ values - @ingroup centrality @brief Get the centrality values from a centrality algorithm result
- cugraph_
centrality_ ⚠result_ get_ vertices - @ingroup centrality @brief Get the vertex ids from the centrality result
- cugraph_
clustering_ ⚠result_ free - @brief Free a clustering result
- cugraph_
clustering_ ⚠result_ get_ clusters - @brief Get clustering clusters
- cugraph_
clustering_ ⚠result_ get_ vertices - @brief Get clustering vertices
- cugraph_
coo_ ⚠free - @brief Free coo object
- cugraph_
coo_ ⚠get_ destinations - @brief Get the destination vertex ids
- cugraph_
coo_ ⚠get_ edge_ id - @brief Get the edge id
- cugraph_
coo_ ⚠get_ edge_ type - @brief Get the edge type
- cugraph_
coo_ ⚠get_ edge_ weights - @brief Get the edge weights
- cugraph_
coo_ ⚠get_ sources - @brief Get the source vertex ids
- cugraph_
coo_ ⚠list_ element - @brief Get a COO from the list
- cugraph_
coo_ ⚠list_ free - @brief Free coo list
- cugraph_
coo_ ⚠list_ size - @brief Get the number of coo object in the list
- cugraph_
core_ ⚠number - @brief Perform core number.
- cugraph_
core_ ⚠result_ create - @ingroup core @brief Create a core_number result (in case it was previously extracted)
- cugraph_
core_ ⚠result_ free - @ingroup core @brief Free core result
- cugraph_
core_ ⚠result_ get_ core_ numbers - @ingroup core @brief Get the core numbers from the core result
- cugraph_
core_ ⚠result_ get_ vertices - @ingroup core @brief Get the vertex ids from the core result
- cugraph_
cosine_ ⚠similarity_ coefficients - @brief Perform cosine similarity computation
- cugraph_
count_ ⚠multi_ edges - @brief Count multi_edges
- cugraph_
create_ ⚠resource_ handle - @brief Construct a resource handle
- cugraph_
create_ ⚠vertex_ pairs - @brief Create vertex_pairs
- cugraph_
data_ ⚠mask_ create - @brief Create a data mask
- cugraph_
data_ ⚠mask_ destroy - @brief Destroy a data mask
- cugraph_
decompress_ ⚠to_ edgelist - @brief Construct the edge list from the graph view object.
- cugraph_
degrees ⚠ - @brief Compute degrees
- cugraph_
degrees_ ⚠result_ free - @brief Free degree result
- cugraph_
degrees_ ⚠result_ get_ in_ degrees - @brief Get the in degrees
- cugraph_
degrees_ ⚠result_ get_ out_ degrees - @brief Get the out degrees
- cugraph_
degrees_ ⚠result_ get_ vertices - @brief Get the vertex ids
- cugraph_
ecg ⚠ - @brief Compute ECG clustering
- cugraph_
edge_ ⚠betweenness_ centrality - @brief Compute edge betweenness centrality
- cugraph_
edge_ ⚠centrality_ result_ free - @ingroup centrality @brief Free centrality result
- cugraph_
edge_ ⚠centrality_ result_ get_ dst_ vertices - @ingroup centrality @brief Get the dst vertex ids from an edge centrality result
- cugraph_
edge_ ⚠centrality_ result_ get_ edge_ ids - @ingroup centrality @brief Get the edge ids from an edge centrality result
- cugraph_
edge_ ⚠centrality_ result_ get_ src_ vertices - @ingroup centrality @brief Get the src vertex ids from an edge centrality result
- cugraph_
edge_ ⚠centrality_ result_ get_ values - @ingroup centrality @brief Get the centrality values from an edge centrality algorithm result
- cugraph_
edgelist_ ⚠free - @brief Free edgelist
- cugraph_
edgelist_ ⚠get_ destinations - @brief Get the destination vertex ids
- cugraph_
edgelist_ ⚠get_ edge_ ids - @brief Get the edge ids
- cugraph_
edgelist_ ⚠get_ edge_ offsets - @brief Get the edge offsets
- cugraph_
edgelist_ ⚠get_ edge_ type_ ids - @brief Get the edge types
- cugraph_
edgelist_ ⚠get_ edge_ weights - @brief Get the edge weights
- cugraph_
edgelist_ ⚠get_ sources - @brief Get the source vertex ids
- cugraph_
eigenvector_ ⚠centrality - @brief Compute eigenvector centrality
- cugraph_
eigenvector_ ⚠centrality_ allow_ nonconvergence - cugraph_
error_ ⚠alignment - cugraph_
error_ ⚠allocation_ source - cugraph_
error_ ⚠cuda_ error - cugraph_
error_ ⚠domain_ id - cugraph_
error_ ⚠failure_ source - cugraph_
error_ ⚠free - @brief Destroy an error message
- cugraph_
error_ ⚠generation - cugraph_
error_ ⚠member_ id - cugraph_
error_ ⚠message - @brief Return an error message
- cugraph_
error_ ⚠requested_ bytes - cugraph_
extract_ ⚠ego - @brief Extract ego graphs
- cugraph_
extract_ ⚠induced_ subgraph - @brief Extract induced subgraph(s)
- cugraph_
extract_ ⚠paths - @brief Extract BFS or SSSP paths from a cugraph_paths_result_t
- cugraph_
extract_ ⚠paths_ result_ free - @ingroup traversal @brief Free extract_paths result
- cugraph_
extract_ ⚠paths_ result_ get_ max_ path_ length - @brief Get the max path length from extract_paths result
- cugraph_
extract_ ⚠paths_ result_ get_ paths - @ingroup traversal @brief Get the matrix (row major order) of paths
- cugraph_
extract_ ⚠vertex_ list - @brief Extract the vertex list from the graph view object.
- cugraph_
force_ ⚠atlas2 - cugraph_
free_ ⚠resource_ handle - @brief Free resources in the resource handle
- cugraph_
generate_ ⚠edge_ ids - @brief Add edge ids to an COO
- cugraph_
generate_ ⚠edge_ types - @brief Generate random edge types, add them to an COO
- cugraph_
generate_ ⚠edge_ weights - @brief Generate edge weights and add to an rmat edge list
- cugraph_
generate_ ⚠rmat_ edgelist - @brief Generate RMAT edge list
- cugraph_
generate_ ⚠rmat_ edgelists - @brief Generate RMAT edge lists
- cugraph_
graph_ ⚠add_ data_ mask - @brief Associate a data mask with a graph
- cugraph_
graph_ ⚠create_ mg - @brief Construct an MG graph
- cugraph_
graph_ ⚠create_ sg - @brief Construct an SG graph
- cugraph_
graph_ ⚠create_ sg_ from_ csr - @brief Construct an SG graph from a CSR input
- cugraph_
graph_ ⚠create_ with_ times_ mg - @brief Construct an MG graph
- cugraph_
graph_ ⚠create_ with_ times_ sg - @brief Construct an SG graph
- cugraph_
graph_ ⚠free - @brief Destroy an graph
- cugraph_
graph_ ⚠get_ data_ mask - @brief Get the data mask currently associated with a graph
- cugraph_
graph_ ⚠release_ data_ mask - @brief Release the data mask currently associated with a graph
- cugraph_
has_ ⚠vertex - @brief Verify if a vertex exists in the graph
- cugraph_
heterogeneous_ ⚠biased_ neighbor_ sample - @brief Heterogeneous Biased Neighborhood Sampling
- cugraph_
heterogeneous_ ⚠biased_ temporal_ neighbor_ sample - @brief Heterogeneous Biased Temporal Neighborhood Sampling
- cugraph_
heterogeneous_ ⚠uniform_ neighbor_ sample - @brief Heterogeneous Uniform Neighborhood Sampling
- cugraph_
heterogeneous_ ⚠uniform_ temporal_ neighbor_ sample - @brief Heterogeneous Uniform Temporal Neighborhood Sampling
- cugraph_
hierarchical_ ⚠clustering_ result_ free - @ingroup community @brief Free a hierarchical clustering result
- cugraph_
hierarchical_ ⚠clustering_ result_ get_ clusters - @ingroup community @brief Get hierarchical clustering clusters
- cugraph_
hierarchical_ ⚠clustering_ result_ get_ modularity - @ingroup community @brief Get modularity
- cugraph_
hierarchical_ ⚠clustering_ result_ get_ vertices - @ingroup community @brief Get hierarchical clustering vertices
- cugraph_
hits ⚠ - @brief Compute hits
- cugraph_
hits_ ⚠allow_ nonconvergence - @brief Compute hits, reporting non-convergence in the result
- cugraph_
hits_ ⚠result_ converged - @ingroup centrality @brief Returns true if hits converged
- cugraph_
hits_ ⚠result_ free - @ingroup centrality @brief Free hits result
- cugraph_
hits_ ⚠result_ get_ authorities - @ingroup centrality @brief Get the authorities values from the hits result
- cugraph_
hits_ ⚠result_ get_ hub_ score_ differences - @ingroup centrality @brief Get the score differences between the last two iterations
- cugraph_
hits_ ⚠result_ get_ hubs - @ingroup centrality @brief Get the hubs values from the hits result
- cugraph_
hits_ ⚠result_ get_ number_ of_ iterations - @ingroup centrality @brief Get the actual number of iterations
- cugraph_
hits_ ⚠result_ get_ vertices - @ingroup centrality @brief Get the vertex ids from the hits result
- cugraph_
homogeneous_ ⚠biased_ neighbor_ sample - @brief Homogeneous Biased Neighborhood Sampling
- cugraph_
homogeneous_ ⚠biased_ temporal_ neighbor_ sample - @brief Homogeneous Biased Temporal Neighborhood Sampling
- cugraph_
homogeneous_ ⚠uniform_ neighbor_ sample - @brief Homogeneous Uniform Neighborhood Sampling
- cugraph_
homogeneous_ ⚠uniform_ temporal_ neighbor_ sample - @brief Homogeneous Uniform Temporal Neighborhood Sampling
- cugraph_
in_ ⚠degrees - @brief Compute in degrees
- cugraph_
induced_ ⚠subgraph_ get_ destinations - @brief Get the destination vertex ids
- cugraph_
induced_ ⚠subgraph_ get_ edge_ ids - @brief Get the edge ids
- cugraph_
induced_ ⚠subgraph_ get_ edge_ type_ ids - @brief Get the edge types
- cugraph_
induced_ ⚠subgraph_ get_ edge_ weights - @brief Get the edge weights
- cugraph_
induced_ ⚠subgraph_ get_ sources - @brief Get the source vertex ids
- cugraph_
induced_ ⚠subgraph_ get_ subgraph_ offsets - @brief Get the subgraph offsets
- cugraph_
induced_ ⚠subgraph_ result_ free - @brief Free induced subgraph
- cugraph_
jaccard_ ⚠coefficients - @brief Perform Jaccard similarity computation
- cugraph_
k_ ⚠core - @brief Perform k_core using output from core_number
- cugraph_
k_ ⚠core_ result_ free - @ingroup core @brief Free k-core result
- cugraph_
k_ ⚠core_ result_ get_ dst_ vertices - @ingroup core @brief Get the dst vertex ids from the k-core result
- cugraph_
k_ ⚠core_ result_ get_ src_ vertices - @ingroup core @brief Get the src vertex ids from the k-core result
- cugraph_
k_ ⚠core_ result_ get_ weights - @ingroup core @brief Get the weights from the k-core result
- cugraph_
k_ ⚠truss_ subgraph - @brief Extract k truss for a graph
- cugraph_
katz_ ⚠centrality - @brief Compute katz centrality
- cugraph_
katz_ ⚠centrality_ allow_ nonconvergence - @brief Compute katz centrality, reporting non-convergence in the result
- cugraph_
labeling_ ⚠result_ free - @ingroup labeling @brief Free labeling result
- cugraph_
labeling_ ⚠result_ get_ labels - @ingroup labeling @brief Get the label values from the labeling result
- cugraph_
labeling_ ⚠result_ get_ vertices - @ingroup labeling @brief Get the vertex ids from the labeling result
- cugraph_
layout_ ⚠result_ free - cugraph_
layout_ ⚠result_ get_ vertices - cugraph_
layout_ ⚠result_ get_ x_ axis - cugraph_
layout_ ⚠result_ get_ y_ axis - cugraph_
leiden ⚠ - @brief Compute Leiden
- cugraph_
lookup_ ⚠container_ free - @ingroup samplingC @brief Free a sampling lookup map
- cugraph_
lookup_ ⚠endpoints_ from_ edge_ ids_ and_ single_ type - @brief Lookup edge sources and destinations using edge ids and a single edge type.
- cugraph_
lookup_ ⚠endpoints_ from_ edge_ ids_ and_ types - @brief Lookup edge sources and destinations using edge ids and edge types.
- cugraph_
lookup_ ⚠result_ free - @ingroup samplingC @brief Free a src-dst lookup result
- cugraph_
lookup_ ⚠result_ get_ dsts - @ingroup samplingC @brief Get the edge destinations from the lookup result
- cugraph_
lookup_ ⚠result_ get_ srcs - @ingroup samplingC @brief Get the edge sources from the lookup result
- cugraph_
louvain ⚠ - @brief Compute Louvain
- cugraph_
minimum_ ⚠spanning_ tree - @brief Minimum Spanning Tree
- cugraph_
negative_ ⚠sampling - @ingroup samplingC @brief Perform negative sampling
- cugraph_
node2vec_ ⚠random_ walks - @brief Compute random walks using the node2vec framework.
- cugraph_
out_ ⚠degrees - @brief Compute out degrees
- cugraph_
overlap_ ⚠coefficients - @brief Perform overlap similarity computation
- cugraph_
pagerank ⚠ - @brief Compute pagerank
- cugraph_
pagerank_ ⚠allow_ nonconvergence - @brief Compute pagerank
- cugraph_
paths_ ⚠result_ free - @ingroup traversal @brief Free paths result
- cugraph_
paths_ ⚠result_ get_ distances - @ingroup traversal @brief Get the distances from the paths result
- cugraph_
paths_ ⚠result_ get_ predecessors - @ingroup traversal @brief Get the predecessors from the paths result
- cugraph_
paths_ ⚠result_ get_ vertices - @ingroup traversal @brief Get the vertex ids from the paths result
- cugraph_
personalized_ ⚠pagerank - @brief Compute personalized pagerank
- cugraph_
personalized_ ⚠pagerank_ allow_ nonconvergence - @brief Compute personalized pagerank
- cugraph_
random_ ⚠walk_ result_ free - @ingroup samplingC @brief Free random walks result
- cugraph_
random_ ⚠walk_ result_ get_ max_ path_ length - @ingroup samplingC @brief Get the max path length from random walk result
- cugraph_
random_ ⚠walk_ result_ get_ path_ sizes - @ingroup samplingC @brief If the random walk result is compressed, get the path sizes @deprecated This call will no longer be relevant once the new node2vec are called
- cugraph_
random_ ⚠walk_ result_ get_ paths - @ingroup samplingC @brief Get the matrix (row major order) of vertices in the paths
- cugraph_
random_ ⚠walk_ result_ get_ weights - @ingroup samplingC @brief Get the matrix (row major order) of edge weights in the paths
- cugraph_
renumber_ ⚠arbitrary_ edgelist - @brief Renumber arbitrary edgelist
- cugraph_
resource_ ⚠handle_ get_ comm_ size - @brief get comm_size from resource handle
- cugraph_
resource_ ⚠handle_ get_ rank - @brief get rank from resource handle
- cugraph_
rng_ ⚠state_ create - @brief Create a Random Number Generator State
- cugraph_
rng_ ⚠state_ free - @brief Destroy a Random Number Generator State
- cugraph_
sample_ ⚠result_ free - @ingroup samplingC @brief Free a sampling result
- cugraph_
sample_ ⚠result_ get_ destinations - @deprecated This call should be replaced with cugraph_sample_result_get_minors @brief Get the destination vertices from the sampling algorithm result
- cugraph_
sample_ ⚠result_ get_ edge_ end_ time - @ingroup samplingC @brief Get the edge_end_time from the sampling algorithm result
- cugraph_
sample_ ⚠result_ get_ edge_ id - @ingroup samplingC @brief Get the edge_id from the sampling algorithm result
- cugraph_
sample_ ⚠result_ get_ edge_ renumber_ map - @ingroup samplingC @brief Get the edge renumber map
- cugraph_
sample_ ⚠result_ get_ edge_ renumber_ map_ offsets - @ingroup samplingC @brief Get the edge renumber map offets
- cugraph_
sample_ ⚠result_ get_ edge_ start_ time - @ingroup samplingC @brief Get the edge_start_time from the sampling algorithm result
- cugraph_
sample_ ⚠result_ get_ edge_ type - @ingroup samplingC @brief Get the edge_type from the sampling algorithm result
- cugraph_
sample_ ⚠result_ get_ edge_ weight - @ingroup samplingC @brief Get the edge_weight from the sampling algorithm result
- cugraph_
sample_ ⚠result_ get_ hop - @ingroup samplingC @brief Get the hop from the sampling algorithm result
- cugraph_
sample_ ⚠result_ get_ index - @ingroup samplingC @brief Get the index from the sampling algorithm result
- cugraph_
sample_ ⚠result_ get_ label_ hop_ offsets - @ingroup samplingC @brief Get the label-hop offsets from the sampling algorithm result
- cugraph_
sample_ ⚠result_ get_ label_ type_ hop_ offsets - @ingroup samplingC @brief Get the label-type-hop offsets from the sampling algorithm result
- cugraph_
sample_ ⚠result_ get_ major_ offsets - @ingroup samplingC @brief Get the major offsets from the sampling algorithm result
- cugraph_
sample_ ⚠result_ get_ majors - @ingroup samplingC @brief Get the major vertices from the sampling algorithm result
- cugraph_
sample_ ⚠result_ get_ minors - @ingroup samplingC @brief Get the minor vertices from the sampling algorithm result
- cugraph_
sample_ ⚠result_ get_ offsets - @deprecated This call should be replaced with cugraph_sample_get_get_label_hop_offsets @brief Get the result offsets from the sampling algorithm result
- cugraph_
sample_ ⚠result_ get_ renumber_ map - @ingroup samplingC @brief Get the renumber map
- cugraph_
sample_ ⚠result_ get_ renumber_ map_ offsets - @ingroup samplingC @brief Get the renumber map offsets
- cugraph_
sample_ ⚠result_ get_ sources - @deprecated This call should be replaced with cugraph_sample_result_get_majors @brief Get the source vertices from the sampling algorithm result
- cugraph_
sample_ ⚠result_ get_ start_ labels - @ingroup samplingC @brief Get the start labels from the sampling algorithm result
- cugraph_
sampling_ ⚠options_ create - @ingroup samplingC @brief Create sampling options object
- cugraph_
sampling_ ⚠options_ free - @ingroup samplingC @brief Free sampling options object
- cugraph_
sampling_ ⚠set_ compress_ per_ hop - @ingroup samplingC @brief Set whether to compress per-hop (True) or globally (False)
- cugraph_
sampling_ ⚠set_ compression_ type - @ingroup samplingC @brief Set compression type
- cugraph_
sampling_ ⚠set_ dedupe_ sources - @ingroup samplingC @brief Set flag to sample dedupe_sources prior to sampling
- cugraph_
sampling_ ⚠set_ disjoint_ sampling - @ingroup samplingC @brief Set flag to perform disjoint sampling
- cugraph_
sampling_ ⚠set_ prior_ sources_ behavior - @ingroup samplingC @brief Set prior sources behavior
- cugraph_
sampling_ ⚠set_ renumber_ results - @ingroup samplingC @brief Set flag to renumber results
- cugraph_
sampling_ ⚠set_ retain_ seeds - @ingroup samplingC @brief Set flag to retain seeds (original sources)
- cugraph_
sampling_ ⚠set_ return_ hops - @ingroup samplingC @brief Set flag to sample return_hops
- cugraph_
sampling_ ⚠set_ temporal_ sampling_ comparison - @ingroup samplingC @brief Set temporal sampling to use associated comparision.
- cugraph_
sampling_ ⚠set_ with_ replacement - @ingroup samplingC @brief Set flag to sample with_replacement
- cugraph_
select_ ⚠random_ vertices - @ingroup samplingC @brief Select random vertices from the graph
- cugraph_
similarity_ ⚠result_ free - @ingroup similarity @brief Free similarity result
- cugraph_
similarity_ ⚠result_ get_ similarity - @ingroup similarity @brief Get the similarity coefficient array
- cugraph_
similarity_ ⚠result_ get_ vertex_ pairs - @ingroup similarity @brief Get vertex pair from the similarity result.
- cugraph_
sorensen_ ⚠coefficients - @brief Perform Sorensen similarity computation
- cugraph_
spectral_ ⚠modularity_ maximization - @brief Spectral clustering
- cugraph_
sssp ⚠ - @brief Perform single-source shortest-path to compute the minimum distances (and predecessors) from the source vertex.
- cugraph_
strongly_ ⚠connected_ components - @brief Labels each vertex in the input graph with its (strongly-connected-)component ID
- cugraph_
test_ ⚠sample_ result_ create - @ingroup samplingC @brief Create a sampling result (testing API)
- cugraph_
test_ ⚠uniform_ neighborhood_ sample_ result_ create - @ingroup samplingC @brief Create a sampling result (testing API)
- cugraph_
triangle_ ⚠count - @brief Triangle Counting
- cugraph_
triangle_ ⚠count_ result_ free - @ingroup community @brief Free a triangle count result
- cugraph_
triangle_ ⚠count_ result_ get_ counts - @ingroup community @brief Get triangle counting counts
- cugraph_
triangle_ ⚠count_ result_ get_ vertices - @ingroup community @brief Get triangle counting vertices
- cugraph_
two_ ⚠hop_ neighbors - @brief Find all 2-hop neighbors in the graph
- cugraph_
type_ ⚠erased_ device_ array_ create - @brief Create a type erased device array
- cugraph_
type_ ⚠erased_ device_ array_ create_ from_ view - @brief Create a type erased device array from a view
- cugraph_
type_ ⚠erased_ device_ array_ free - @brief Destroy a type erased device array
- cugraph_
type_ ⚠erased_ device_ array_ view - @brief Create a type erased device array view from a type erased device array
- cugraph_
type_ ⚠erased_ device_ array_ view_ as_ type - @brief Create a type erased device array view with a different type
- cugraph_
type_ ⚠erased_ device_ array_ view_ copy - @brief Copy data between two type erased device array views
- cugraph_
type_ ⚠erased_ device_ array_ view_ copy_ from_ host - @brief Copy data from host to a type erased device array view
- cugraph_
type_ ⚠erased_ device_ array_ view_ copy_ to_ host - @brief Copy data from device to a type erased host array
- cugraph_
type_ ⚠erased_ device_ array_ view_ create - @brief Create a type erased device array view from a raw device pointer.
- cugraph_
type_ ⚠erased_ device_ array_ view_ free - @brief Destroy a type erased device array view
- cugraph_
type_ ⚠erased_ device_ array_ view_ pointer - @brief Get the raw pointer of the type erased device array view
- cugraph_
type_ ⚠erased_ device_ array_ view_ size - @brief Get the size of a type erased device array view
- cugraph_
type_ ⚠erased_ device_ array_ view_ type - @brief Get the type of a type erased device array view
- cugraph_
type_ ⚠erased_ host_ array_ create - @brief Create a type erased host array
- cugraph_
type_ ⚠erased_ host_ array_ free - @brief Destroy a type erased host array
- cugraph_
type_ ⚠erased_ host_ array_ pointer - @brief Get the raw pointer of the type erased host array view
- cugraph_
type_ ⚠erased_ host_ array_ size - @brief Get the size of a type erased host array view
- cugraph_
type_ ⚠erased_ host_ array_ type - @brief Get the type of a type erased host array view
- cugraph_
type_ ⚠erased_ host_ array_ view - @brief Create a type erased host array view from a type erased host array
- cugraph_
type_ ⚠erased_ host_ array_ view_ copy - @brief Copy data between two type erased device array views
- cugraph_
type_ ⚠erased_ host_ array_ view_ create - @brief Create a type erased host array view from a raw host pointer.
- cugraph_
type_ ⚠erased_ host_ array_ view_ free - @brief Destroy a type erased host array view
- cugraph_
uniform_ ⚠random_ walks - @brief Compute uniform random walks
- cugraph_
vertex_ ⚠pairs_ free - @brief Free vertex pair
- cugraph_
vertex_ ⚠pairs_ get_ first - @brief Get the first vertex id array
- cugraph_
vertex_ ⚠pairs_ get_ second - @brief Get the second vertex id array
- cugraph_
weakly_ ⚠connected_ components - @brief Labels each vertex in the input graph with its (weakly-connected-)component ID
Type Aliases§
- byte_t
- cugraph_
compression_ type_ t - @brief Selects the type of compression to use for the output samples.
- cugraph_
error_ t - cugraph_
generator_ distribution_ t - cugraph_
k_ core_ degree_ type_ t - @ingroup core @brief Enumeration for computing core number
- cugraph_
prior_ sources_ behavior_ t - @brief Enumeration for prior sources behavior
- cugraph_
resource_ handle_ t - cugraph_
temporal_ sampling_ comparison_ t - @brief Enumeration for temporal comparison options