20
20
""" This file declares the SyclDevice extension type.
21
21
"""
22
22
23
- from libcpp cimport bool
24
- from libc.stdint cimport uint32_t
25
23
from ._backend cimport (
26
24
DPCTLSyclDeviceRef,
27
25
DPCTLSyclDeviceSelectorRef,
@@ -32,18 +30,10 @@ cdef class _SyclDevice:
32
30
''' Wrapper class for a Sycl Device
33
31
'''
34
32
cdef DPCTLSyclDeviceRef _device_ref
35
- cdef bool _accelerator_device
36
- cdef bool _cpu_device
37
- cdef bool _gpu_device
38
- cdef bool _host_device
39
33
cdef const char * _vendor_name
40
34
cdef const char * _device_name
41
35
cdef const char * _driver_version
42
- cdef uint32_t _max_compute_units
43
- cdef uint32_t _max_work_item_dims
44
36
cdef size_t * _max_work_item_sizes
45
- cdef size_t _max_work_group_size
46
- cdef uint32_t _max_num_sub_groups
47
37
48
38
49
39
cdef class SyclDevice(_SyclDevice):
@@ -54,17 +44,3 @@ cdef class SyclDevice(_SyclDevice):
54
44
cdef int _init_from__SyclDevice(self , _SyclDevice other)
55
45
cdef int _init_from_selector(self , DPCTLSyclDeviceSelectorRef DSRef)
56
46
cdef DPCTLSyclDeviceRef get_device_ref(self )
57
- cpdef get_backend(self )
58
- cpdef get_device_name(self )
59
- cpdef get_device_type(self )
60
- cpdef get_vendor_name(self )
61
- cpdef get_driver_version(self )
62
- cpdef get_max_compute_units(self )
63
- cpdef get_max_work_item_dims(self )
64
- cpdef get_max_work_item_sizes(self )
65
- cpdef get_max_work_group_size(self )
66
- cpdef get_max_num_sub_groups(self )
67
- cpdef is_accelerator(self )
68
- cpdef is_cpu(self )
69
- cpdef is_gpu(self )
70
- cpdef is_host(self )
0 commit comments