@@ -57,7 +57,8 @@ DPCTLDevice_Copy(__dpctl_keep const DPCTLSyclDeviceRef DRef);
57
57
* @brief Returns a new DPCTLSyclDeviceRef opaque object wrapping a SYCL device
58
58
* instance as a host device.
59
59
*
60
- * @return An opaque pointer to the host SYCL device.
60
+ * @return An opaque pointer to a ``sycl::device`` created as an instance of
61
+ * the host device.
61
62
* @ingroup DeviceInterface
62
63
*/
63
64
DPCTL_API
@@ -67,7 +68,7 @@ __dpctl_give DPCTLSyclDeviceRef DPCTLDevice_Create();
67
68
* @brief Returns a new DPCTLSyclDeviceRef opaque object created using the
68
69
* provided device_selector.
69
70
*
70
- * @param DSRef An opaque pointer to a SYCL device_selector.
71
+ * @param DSRef An opaque pointer to a ``sycl:: device_selector`` .
71
72
* @return Returns an opaque pointer to a SYCL device created using the
72
73
* device_selector, if the requested device could not be created a
73
74
* nullptr is returned.
@@ -88,9 +89,9 @@ void DPCTLDevice_Delete(__dpctl_take DPCTLSyclDeviceRef DRef);
88
89
89
90
/* !
90
91
* @brief Returns true if this SYCL device is an OpenCL device and the device
91
- * type is sycl::info::device_type::accelerator.
92
+ * type is `` sycl::info::device_type::accelerator`` .
92
93
*
93
- * @param DRef Opaque pointer to a sycl::device
94
+ * @param DRef Opaque pointer to a `` sycl::device``
94
95
* @return True if the device type is an accelerator, else False.
95
96
* @ingroup DeviceInterface
96
97
*/
@@ -99,9 +100,9 @@ bool DPCTLDevice_IsAccelerator(__dpctl_keep const DPCTLSyclDeviceRef DRef);
99
100
100
101
/* !
101
102
* @brief Returns true if this SYCL device is an OpenCL device and the device
102
- * type is sycl::info::device_type::cpu.
103
+ * type is `` sycl::info::device_type::cpu`` .
103
104
*
104
- * @param DRef Opaque pointer to a sycl::device
105
+ * @param DRef Opaque pointer to a `` sycl::device``
105
106
* @return True if the device type is a cpu, else False.
106
107
* @ingroup DeviceInterface
107
108
*/
@@ -110,9 +111,9 @@ bool DPCTLDevice_IsCPU(__dpctl_keep const DPCTLSyclDeviceRef DRef);
110
111
111
112
/* !
112
113
* @brief Returns true if this SYCL device is an OpenCL device and the device
113
- * type is sycl::info::device_type::gpu.
114
+ * type is `` sycl::info::device_type::gpu`` .
114
115
*
115
- * @param DRef Opaque pointer to a sycl::device
116
+ * @param DRef Opaque pointer to a `` sycl::device``
116
117
* @return True if the device type is a gpu, else False.
117
118
* @ingroup DeviceInterface
118
119
*/
@@ -122,7 +123,7 @@ bool DPCTLDevice_IsGPU(__dpctl_keep const DPCTLSyclDeviceRef DRef);
122
123
/* !
123
124
* @brief Returns true if this SYCL device is a host device.
124
125
*
125
- * @param DRef Opaque pointer to a sycl::device
126
+ * @param DRef Opaque pointer to a `` sycl::device``
126
127
* @return True if the device is a host device, else False.
127
128
* @ingroup DeviceInterface
128
129
*/
@@ -132,9 +133,9 @@ bool DPCTLDevice_IsHost(__dpctl_keep const DPCTLSyclDeviceRef DRef);
132
133
/* !
133
134
* @brief Returns the backend for the device.
134
135
*
135
- * @param DRef Opaque pointer to a sycl::device
136
- * @return A DPCTLSyclBackendType enum value representing the sycl::backend
137
- * for the device.
136
+ * @param DRef Opaque pointer to a `` sycl::device``
137
+ * @return A DPCTLSyclBackendType enum value representing the
138
+ * ``sycl::backend`` for the device.
138
139
* @ingroup DeviceInterface
139
140
*/
140
141
DPCTL_API
@@ -156,7 +157,7 @@ DPCTLDevice_GetDeviceType(__dpctl_keep const DPCTLSyclDeviceRef DRef);
156
157
/* !
157
158
* @brief Returns the OpenCL software driver version as a C string.
158
159
*
159
- * @param DRef Opaque pointer to a sycl::device
160
+ * @param DRef Opaque pointer to a `` sycl::device``
160
161
* @return A C string in the form major_number.minor.number that corresponds
161
162
* to the OpenCL driver version if this is a OpenCL device.
162
163
* @ingroup DeviceInterface
@@ -168,7 +169,7 @@ DPCTLDevice_GetDriverInfo(__dpctl_keep const DPCTLSyclDeviceRef DRef);
168
169
/* !
169
170
* @brief Wrapper over device.get_info<info::device::max_compute_units>().
170
171
*
171
- * @param DRef Opaque pointer to a sycl::device
172
+ * @param DRef Opaque pointer to a `` sycl::device``
172
173
* @return Returns the valid result if device exists else returns 0.
173
174
* @ingroup DeviceInterface
174
175
*/
@@ -179,7 +180,7 @@ DPCTLDevice_GetMaxComputeUnits(__dpctl_keep const DPCTLSyclDeviceRef DRef);
179
180
/* !
180
181
* @brief Wrapper for get_info<info::device::max_work_item_dimensions>().
181
182
*
182
- * @param DRef Opaque pointer to a sycl::device
183
+ * @param DRef Opaque pointer to a `` sycl::device``
183
184
* @return Returns the valid result if device exists else returns 0.
184
185
* @ingroup DeviceInterface
185
186
*/
@@ -190,7 +191,7 @@ DPCTLDevice_GetMaxWorkItemDims(__dpctl_keep const DPCTLSyclDeviceRef DRef);
190
191
/* !
191
192
* @brief Wrapper for get_info<info::device::max_work_item_sizes>().
192
193
*
193
- * @param DRef Opaque pointer to a sycl::device
194
+ * @param DRef Opaque pointer to a `` sycl::device``
194
195
* @return Returns the valid result if device exists else returns NULL.
195
196
* @ingroup DeviceInterface
196
197
*/
@@ -201,7 +202,7 @@ DPCTLDevice_GetMaxWorkItemSizes(__dpctl_keep const DPCTLSyclDeviceRef DRef);
201
202
/* !
202
203
* @brief Wrapper for get_info<info::device::max_work_group_size>().
203
204
*
204
- * @param DRef Opaque pointer to a sycl::device
205
+ * @param DRef Opaque pointer to a `` sycl::device``
205
206
* @return Returns the valid result if device exists else returns 0.
206
207
* @ingroup DeviceInterface
207
208
*/
@@ -212,7 +213,7 @@ DPCTLDevice_GetMaxWorkGroupSize(__dpctl_keep const DPCTLSyclDeviceRef DRef);
212
213
/* !
213
214
* @brief Wrapper over device.get_info<info::device::max_num_sub_groups>.
214
215
*
215
- * @param DRef Opaque pointer to a sycl::device
216
+ * @param DRef Opaque pointer to a `` sycl::device``
216
217
* @return Returns the valid result if device exists else returns 0.
217
218
* @ingroup DeviceInterface
218
219
*/
@@ -221,10 +222,10 @@ uint32_t
221
222
DPCTLDevice_GetMaxNumSubGroups (__dpctl_keep const DPCTLSyclDeviceRef DRef);
222
223
223
224
/* !
224
- * @brief Returns the sycl::platform for the device as DPCTLSyclPlatformRef
225
+ * @brief Returns the `` sycl::platform`` for the device as DPCTLSyclPlatformRef
225
226
* opaque pointer.
226
227
*
227
- * @param DRef Opaque pointer to a sycl::device
228
+ * @param DRef Opaque pointer to a `` sycl::device``
228
229
* @return An opaque pointer to the sycl::platform for the device.
229
230
* @ingroup DeviceInterface
230
231
*/
@@ -235,7 +236,7 @@ DPCTLDevice_GetPlatform(__dpctl_keep const DPCTLSyclDeviceRef DRef);
235
236
/* !
236
237
* @brief Returns a C string for the device name.
237
238
*
238
- * @param DRef Opaque pointer to a sycl::device
239
+ * @param DRef Opaque pointer to a `` sycl::device``
239
240
* @return A C string containing the OpenCL device name.
240
241
* @ingroup DeviceInterface
241
242
*/
@@ -246,7 +247,7 @@ DPCTLDevice_GetName(__dpctl_keep const DPCTLSyclDeviceRef DRef);
246
247
/* !
247
248
* @brief Returns a C string corresponding to the vendor name.
248
249
*
249
- * @param DRef Opaque pointer to a sycl::device
250
+ * @param DRef Opaque pointer to a `` sycl::device``
250
251
* @return A C string containing the OpenCL device vendor name.
251
252
* @ingroup DeviceInterface
252
253
*/
@@ -258,7 +259,7 @@ DPCTLDevice_GetVendorName(__dpctl_keep const DPCTLSyclDeviceRef DRef);
258
259
* @brief Returns True if the device and the host share a unified memory
259
260
* subsystem, else returns False.
260
261
*
261
- * @param DRef Opaque pointer to a sycl::device
262
+ * @param DRef Opaque pointer to a `` sycl::device``
262
263
* @return Boolean indicating if the device shares a unified memory subsystem
263
264
* with the host.
264
265
* @ingroup DeviceInterface
@@ -271,8 +272,8 @@ bool DPCTLDevice_IsHostUnifiedMemory(
271
272
* @brief Checks if two DPCTLSyclDeviceRef objects point to the same
272
273
* sycl::device.
273
274
*
274
- * @param DRef1 First opaque pointer to a sycl device.
275
- * @param DRef2 Second opaque pointer to a sycl device.
275
+ * @param DRef1 First opaque pointer to a `` sycl:: device`` .
276
+ * @param DRef2 Second opaque pointer to a `` sycl:: device`` .
276
277
* @return True if the underlying sycl::device are same, false otherwise.
277
278
* @ingroup DeviceInterface
278
279
*/
@@ -283,8 +284,8 @@ bool DPCTLDevice_AreEq(__dpctl_keep const DPCTLSyclDeviceRef DRef1,
283
284
/* !
284
285
* @brief Checks if device has aspect.
285
286
*
286
- * @param DRef Opaque pointer to a sycl::device
287
- * @param AT DPCTLSyclAspectType of device::aspect.
287
+ * @param DRef Opaque pointer to a `` sycl::device``
288
+ * @param AT DPCTLSyclAspectType of `` device::aspect`` .
288
289
* @return True if sycl::device has device::aspect, else false.
289
290
* @ingroup DeviceInterface
290
291
*/
@@ -391,7 +392,7 @@ DPCTLDevice_GetImage3dMaxDepth(__dpctl_keep const DPCTLSyclDeviceRef DRef);
391
392
* units is not evenly divided by count, then the remaining compute units are
392
393
* not included in any of the sub devices.
393
394
*
394
- * @param DRef Opaque pointer to a sycl::device
395
+ * @param DRef Opaque pointer to a `` sycl::device``
395
396
* @param count Count compute units that need to contains in
396
397
* subdevices
397
398
* @return A #DPCTLDeviceVectorRef containing #DPCTLSyclDeviceRef objects
@@ -408,7 +409,7 @@ DPCTLDevice_CreateSubDevicesEqually(__dpctl_keep const DPCTLSyclDeviceRef DRef,
408
409
* non-zero value M in the counts vector, a sub device with M compute units
409
410
* is created.
410
411
*
411
- * @param DRef Opaque pointer to a sycl::device
412
+ * @param DRef Opaque pointer to a `` sycl::device``
412
413
* @param counts Array with count compute units
413
414
* that need to contains in subdevices
414
415
* @param ncounts Number of counts
@@ -457,7 +458,7 @@ bool DPCTLDevice_GetSubGroupIndependentForwardProgress(
457
458
* @brief Wrapper over
458
459
* device.get_info<info::device::preferred_vector_width_char>.
459
460
*
460
- * @param DRef Opaque pointer to a sycl::device
461
+ * @param DRef Opaque pointer to a `` sycl::device``
461
462
* @return Returns the preferred native vector width size for built-in scalar
462
463
* types that can be put into vectors.
463
464
* @ingroup DeviceInterface
@@ -470,7 +471,7 @@ uint32_t DPCTLDevice_GetPreferredVectorWidthChar(
470
471
* @brief Wrapper over
471
472
* device.get_info<info::device::preferred_vector_width_short>.
472
473
*
473
- * @param DRef Opaque pointer to a sycl::device
474
+ * @param DRef Opaque pointer to a `` sycl::device``
474
475
* @return Returns the preferred native vector width size for built-in scalar
475
476
* types that can be put into vectors.
476
477
* @ingroup DeviceInterface
@@ -483,7 +484,7 @@ uint32_t DPCTLDevice_GetPreferredVectorWidthShort(
483
484
* @brief Wrapper over
484
485
* device.get_info<info::device::preferred_vector_width_int>.
485
486
*
486
- * @param DRef Opaque pointer to a sycl::device
487
+ * @param DRef Opaque pointer to a `` sycl::device``
487
488
* @return Returns the preferred native vector width size for built-in scalar
488
489
* types that can be put into vectors.
489
490
* @ingroup DeviceInterface
@@ -496,7 +497,7 @@ uint32_t DPCTLDevice_GetPreferredVectorWidthInt(
496
497
* @brief Wrapper over
497
498
* device.get_info<info::device::preferred_vector_width_long>.
498
499
*
499
- * @param DRef Opaque pointer to a sycl::device
500
+ * @param DRef Opaque pointer to a `` sycl::device``
500
501
* @return Returns the preferred native vector width size for built-in scalar
501
502
* types that can be put into vectors.
502
503
* @ingroup DeviceInterface
@@ -509,7 +510,7 @@ uint32_t DPCTLDevice_GetPreferredVectorWidthLong(
509
510
* @brief Wrapper over
510
511
* device.get_info<info::device::preferred_vector_width_float>.
511
512
*
512
- * @param DRef Opaque pointer
513
+ * @param DRef Opaque pointer to a ``sycl::device``
513
514
* @return Returns the preferred native vector width size for built-in scalar
514
515
* type.
515
516
* @ingroup DeviceInterface
@@ -522,7 +523,7 @@ uint32_t DPCTLDevice_GetPreferredVectorWidthFloat(
522
523
* @brief Wrapper over
523
524
* device.get_info<info::device::preferred_vector_width_double>.
524
525
*
525
- * @param DRef Opaque pointer to a sycl::device
526
+ * @param DRef Opaque pointer to a `` sycl::device``
526
527
* @return Returns the preferred native vector width size for built-in scalar
527
528
* types that can be put into vectors.
528
529
* @ingroup DeviceInterface
@@ -533,9 +534,9 @@ uint32_t DPCTLDevice_GetPreferredVectorWidthDouble(
533
534
534
535
/* !
535
536
* @brief Wrapper over
536
- * device.get_info<info::device::preferred_vector_width_half>.
537
+ * `` device.get_info<info::device::preferred_vector_width_half>`` .
537
538
*
538
- * @param DRef Opaque pointer to a sycl::device
539
+ * @param DRef Opaque pointer to a `` sycl::device``
539
540
* @return Returns the preferred native vector width size for built-in scalar
540
541
* types that can be put into vectors.
541
542
* @ingroup DeviceInterface
0 commit comments