Skip to content

Commit 9c7d09f

Browse files
committed
fix(core): support mutable memcpy source fields
1 parent 4cd463f commit 9c7d09f

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎cuda_core/cuda/core/graph/_graph_node.pyx‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1003,7 +1003,7 @@ cdef void _init_memcpy_params(
10031003
params.srcMemoryType = src_type[0]
10041004
params.dstMemoryType = dst_type[0]
10051005
if src_type[0] == cydriver.CU_MEMORYTYPE_HOST:
1006-
params.srcHost = <const void*><uintptr_t>src
1006+
params.srcHost = <void*><uintptr_t>src
10071007
else:
10081008
params.srcDevice = src
10091009
if dst_type[0] == cydriver.CU_MEMORYTYPE_HOST:

0 commit comments

Comments
 (0)