Skip to content

Commit a0244c3

Browse files
fixed type in comment
1 parent 364f847 commit a0244c3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

dpctl/memory/_memory.pyx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -484,7 +484,7 @@ cdef class _Memory:
484484
cdef DPCTLSyclDeviceRef dref_copy = DPCTLDevice_Copy(dref)
485485
if (dref_copy is NULL):
486486
raise RuntimeError("Could not create a copy of sycl device")
487-
return SyclDevice._create(dref_copy) # destroys argsument
487+
return SyclDevice._create(dref_copy) # deletes the argument
488488

489489
@staticmethod
490490
cdef bytes get_pointer_type(DPCTLSyclUSMRef p, SyclContext ctx):

0 commit comments

Comments
 (0)