Skip to content

Commit ff682d4

Browse files
author
Diptorup Deb
committed
Remove redundant cast to int when returning from addressof_ref.
1 parent f4c1926 commit ff682d4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

dpctl/_sycl_context.pyx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -350,7 +350,7 @@ cdef class SyclContext(_SyclContext):
350350
used to create this :class:`dpctl.SyclContext` cast to a
351351
``size_t``.
352352
"""
353-
return int(<size_t>self._ctxt_ref)
353+
return <size_t>self._ctxt_ref
354354

355355
def get_devices(self):
356356
"""

0 commit comments

Comments
 (0)