Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
fix: allow cuStreamBeginCaptureToGraph argument dependencyData to be …
…optional (#1188)

(cherry picked from commit 9f1269b)
  • Loading branch information
cpcloud authored and github-actions[bot] committed Oct 28, 2025
commit cd586e82a10ab8370b85660bc397bbd1c97294c3
1 change: 0 additions & 1 deletion cuda_bindings/cuda/bindings/driver.pyx.in
Original file line number Diff line number Diff line change
Expand Up @@ -36983,7 +36983,6 @@ def cuStreamBeginCaptureToGraph(hStream, hGraph, dependencies : Optional[tuple[C
elif len(dependencyData) == 1:
cydependencyData = (<CUgraphEdgeData>dependencyData[0])._pvt_ptr
if numDependencies > <size_t>len(dependencies): raise RuntimeError("List is too small: " + str(len(dependencies)) + " < " + str(numDependencies))
if numDependencies > <size_t>len(dependencyData): raise RuntimeError("List is too small: " + str(len(dependencyData)) + " < " + str(numDependencies))
cdef cydriver.CUstreamCaptureMode cymode = mode.value
with nogil:
err = cydriver.cuStreamBeginCaptureToGraph(cyhStream, cyhGraph, cydependencies, cydependencyData, numDependencies, cymode)
Expand Down