We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 364f847 commit a0244c3Copy full SHA for a0244c3
dpctl/memory/_memory.pyx
@@ -484,7 +484,7 @@ cdef class _Memory:
484
cdef DPCTLSyclDeviceRef dref_copy = DPCTLDevice_Copy(dref)
485
if (dref_copy is NULL):
486
raise RuntimeError("Could not create a copy of sycl device")
487
- return SyclDevice._create(dref_copy) # destroys argsument
+ return SyclDevice._create(dref_copy) # deletes the argument
488
489
@staticmethod
490
cdef bytes get_pointer_type(DPCTLSyclUSMRef p, SyclContext ctx):
0 commit comments