Skip to content

Commit 289ed36

Browse files
author
Diptorup Deb
committed
Fix addressof_ref function in SyclContext.
1 parent 0951961 commit 289ed36

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._ctx_ref)
353+
return int(<size_t>self._ctxt_ref)
354354

355355
def get_devices(self):
356356
"""

0 commit comments

Comments
 (0)