Skip to content

Commit 464128b

Browse files
author
Diptorup Deb
committed
Update _backend.pxd
1 parent 1c6bf7b commit 464128b

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

dpctl/_backend.pxd

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -75,6 +75,7 @@ cdef extern from "dpctl_sycl_types.h":
7575
cdef struct DPCTLOpaqueSyclDeviceSelector
7676
cdef struct DPCTLOpaqueSyclEvent
7777
cdef struct DPCTLOpaqueSyclKernel
78+
cdef struct DPCTLOpaqueSyclPlatform
7879
cdef struct DPCTLOpaqueSyclProgram
7980
cdef struct DPCTLOpaqueSyclQueue
8081
cdef struct DPCTLOpaqueSyclUSM
@@ -84,6 +85,7 @@ cdef extern from "dpctl_sycl_types.h":
8485
ctypedef DPCTLOpaqueSyclDeviceSelector *DPCTLSyclDeviceSelectorRef
8586
ctypedef DPCTLOpaqueSyclEvent *DPCTLSyclEventRef
8687
ctypedef DPCTLOpaqueSyclKernel *DPCTLSyclKernelRef
88+
ctypedef DPCTLOpaqueSyclPlatform *DPCTLSyclPlatformRef
8789
ctypedef DPCTLOpaqueSyclProgram *DPCTLSyclProgramRef
8890
ctypedef DPCTLOpaqueSyclQueue *DPCTLSyclQueueRef
8991
ctypedef DPCTLOpaqueSyclUSM *DPCTLSyclUSMRef
@@ -138,6 +140,7 @@ cdef extern from "dpctl_sycl_kernel_interface.h":
138140

139141

140142
cdef extern from "dpctl_sycl_platform_interface.h":
143+
cdef void DPCTLPlatform_Delete()
141144
cdef size_t DPCTLPlatform_GetNumNonHostPlatforms()
142145
cdef void DPCTLPlatform_DumpInfo()
143146
cdef size_t DPCTLPlatform_GetNumNonHostBackends()

0 commit comments

Comments
 (0)