2727
2828class device_type (Enum ):
2929 """
30- An enumeration of supported SYCL device types.
30+ An :class:`enum.Enum` of supported SYCL device types.
31+
32+ | ``all``
33+ | ``accelerator``
34+ | ``automatic``
35+ | ``cpu``
36+ | ``custom``
37+ | ``gpu``
3138
3239 :Example:
3340 .. code-block:: python
@@ -54,7 +61,13 @@ class device_type(Enum):
5461
5562class backend_type (Enum ):
5663 """
57- An enumeration of supported SYCL backends.
64+ An :class:`enum.Enum` of supported SYCL backends.
65+
66+ | ``all``
67+ | ``cuda``
68+ | ``hip``
69+ | ``level_zero``
70+ | ``opencl``
5871
5972 :Example:
6073 .. code-block:: python
@@ -63,7 +76,7 @@ class backend_type(Enum):
6376
6477 # create a SYCL device with OpenCL backend using filter selector
6578 d = dpctl.SyclDevice("opencl")
66- print( d.backend)
79+ d.backend
6780 # Possible output: <backend_type.opencl: 5>
6881 """
6982
@@ -76,14 +89,19 @@ class backend_type(Enum):
7689
7790class event_status_type (Enum ):
7891 """
79- An enumeration of SYCL event states.
92+ An :class:`enum.Enum` of SYCL event states.
93+
94+ | ``unknown_status``
95+ | ``submitted``
96+ | ``running``
97+ | ``complete``
8098
8199 :Example:
82100 .. code-block:: python
83101
84102 import dpctl
85103 ev = dpctl.SyclEvent()
86- print( ev.execution_status )
104+ ev.execution_status
87105 # Possible output: <event_status_type.complete: 4>
88106 """
89107
@@ -95,14 +113,19 @@ class event_status_type(Enum):
95113
96114class global_mem_cache_type (Enum ):
97115 """
98- An enumeration of global memory cache types for a device.
116+ An :class:`enum.Enum` of global memory cache types for a device.
117+
118+ | ``indeterminate``
119+ | ``none``
120+ | ``read_only``
121+ | ``read_write``
99122
100123 :Example:
101124 .. code-block:: python
102125
103126 import dpctl
104127 dev = dpctl.SyclDevice()
105- print( dev.global_mem_cache_type)
128+ dev.global_mem_cache_type
106129 # Possible output: <global_mem_cache_type.read_write: 4>
107130 """
108131
0 commit comments