File tree Expand file tree Collapse file tree 1 file changed +10
-5
lines changed
sycl/include/CL/sycl/detail Expand file tree Collapse file tree 1 file changed +10
-5
lines changed Original file line number Diff line number Diff line change @@ -132,11 +132,16 @@ typedef enum {
132
132
// make the translation to OpenCL transparent.
133
133
//
134
134
typedef enum : pi_uint64 {
135
- PI_DEVICE_TYPE_DEFAULT = CL_DEVICE_TYPE_DEFAULT,
136
- PI_DEVICE_TYPE_ALL = CL_DEVICE_TYPE_ALL,
137
- PI_DEVICE_TYPE_CPU = CL_DEVICE_TYPE_CPU,
138
- PI_DEVICE_TYPE_GPU = CL_DEVICE_TYPE_GPU,
139
- PI_DEVICE_TYPE_ACC = CL_DEVICE_TYPE_ACCELERATOR
135
+ PI_DEVICE_TYPE_DEFAULT =
136
+ CL_DEVICE_TYPE_DEFAULT, // /< The default device available in the PI
137
+ // /< plugin.
138
+ PI_DEVICE_TYPE_ALL =
139
+ CL_DEVICE_TYPE_ALL, // /< All devices available in the PI plugin.
140
+ PI_DEVICE_TYPE_CPU =
141
+ CL_DEVICE_TYPE_CPU, // /< A PI device that is the host processor.
142
+ PI_DEVICE_TYPE_GPU = CL_DEVICE_TYPE_GPU, // /< A PI device that is a GPU.
143
+ PI_DEVICE_TYPE_ACC = CL_DEVICE_TYPE_ACCELERATOR // /< A PI device that is a
144
+ // /< dedicated accelerator.
140
145
} _pi_device_type;
141
146
142
147
typedef enum {
You can’t perform that action at this time.
0 commit comments