Skip to content

Commit b45bf89

Browse files
fix: allow cuStreamBeginCaptureToGraph argument dependencyData to be optional (#1188) (#1196)
(cherry picked from commit 9f1269b) Co-authored-by: Phillip Cloud <417981+cpcloud@users.noreply.github.com>
1 parent 7dfc43a commit b45bf89

1 file changed

Lines changed: 0 additions & 1 deletion

File tree

cuda_bindings/cuda/bindings/driver.pyx.in

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36983,7 +36983,6 @@ def cuStreamBeginCaptureToGraph(hStream, hGraph, dependencies : Optional[tuple[C
3698336983
elif len(dependencyData) == 1:
3698436984
cydependencyData = (<CUgraphEdgeData>dependencyData[0])._pvt_ptr
3698536985
if numDependencies > <size_t>len(dependencies): raise RuntimeError("List is too small: " + str(len(dependencies)) + " < " + str(numDependencies))
36986-
if numDependencies > <size_t>len(dependencyData): raise RuntimeError("List is too small: " + str(len(dependencyData)) + " < " + str(numDependencies))
3698736986
cdef cydriver.CUstreamCaptureMode cymode = mode.value
3698836987
with nogil:
3698936988
err = cydriver.cuStreamBeginCaptureToGraph(cyhStream, cyhGraph, cydependencies, cydependencyData, numDependencies, cymode)

0 commit comments

Comments
 (0)