cuda.core.graph._adjacency_set_proxy.AdjacencySetProxy#
- class cuda.core.graph._adjacency_set_proxy.AdjacencySetProxy(node, is_fwd)#
Mutable set proxy for a node’s predecessors or successors. Mutations write through to the underlying CUDA graph.
Methods
- __init__(self, node, bool is_fwd)#
- add(self, value)#
- clear(self)#
Remove all edges in a single driver call.
- discard(self, value)#
- isdisjoint(other)#
Return True if two sets have a null intersection.
- pop()#
Return the popped value. Raise KeyError if empty.
- remove(value)#
Remove an element. If not a member, raise a KeyError.
- update(self, *others)#
Add edges to multiple nodes at once.