Skip to content

Commit fb1bf0c

Browse files
removed unnecessary cast
1 parent 85b3a8e commit fb1bf0c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

dpctl/_sycl_device.pyx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -227,7 +227,7 @@ cdef class SyclDevice(_SyclDevice):
227227
int: The address of the DPCTLSyclDeviceRef object used to create
228228
this SyclDevice cast to a size_t.
229229
"""
230-
return <size_t><void *>self._device_ref
230+
return <size_t>self._device_ref
231231

232232
@property
233233
def backend(self):

0 commit comments

Comments
 (0)