Skip to content

Commit 88dcb33

Browse files
committed
Make a breaking change on purpose
1 parent eade5a8 commit 88dcb33

2 files changed

Lines changed: 2 additions & 1 deletion

File tree

cuda_core/cuda/core/graph/_graph_definition.pyi

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ class GraphDefinition:
8585
See :meth:`GraphNode.deallocate` for full documentation.
8686
"""
8787

88-
def memset(self, dst: int, value, width: int, height: int=1, pitch: int=0) -> MemsetNode:
88+
def memset(self, dst: int, value, width: int, *, height: int=1, pitch: int=0) -> MemsetNode:
8989
"""Add an entry-point memset node (no dependencies).
9090
9191
See :meth:`GraphNode.memset` for full documentation.

cuda_core/cuda/core/graph/_graph_definition.pyx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -159,6 +159,7 @@ cdef class GraphDefinition:
159159
dst: int,
160160
value,
161161
size_t width,
162+
*,
162163
size_t height=1,
163164
size_t pitch=0
164165
) -> MemsetNode:

0 commit comments

Comments
 (0)