Skip to content

Commit 7bddc4b

Browse files
exported DPCTLDeviceMgr_GetRelativeId
1 parent 103635c commit 7bddc4b

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

dpctl/_backend.pxd

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ types defined by dpctl's C API.
2222
"""
2323

2424
from libcpp cimport bool
25-
from libc.stdint cimport uint32_t
25+
from libc.stdint cimport uint32_t, int64_t
2626

2727

2828
cdef extern from "dpctl_error_handler_type.h":
@@ -210,6 +210,7 @@ cdef extern from "dpctl_sycl_device_manager.h":
210210
cdef void DPCTLDeviceMgr_PrintDeviceInfo(const DPCTLSyclDeviceRef DRef)
211211
cdef DPCTLSyclContextRef DPCTLDeviceMgr_GetCachedContext(
212212
const DPCTLSyclDeviceRef DRef)
213+
cdef int64_t DPCTLDeviceMgr_GetRelativeId(const DPCTLSyclDeviceRef DRef)
213214

214215

215216
cdef extern from "dpctl_sycl_device_selector_interface.h":

0 commit comments

Comments
 (0)