We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8655e98 commit cf1e00fCopy full SHA for cf1e00f
libsyclinterface/include/dpctl_sycl_device_interface.h
@@ -250,9 +250,11 @@ DPCTLDevice_GetMaxWorkItemSizes3d(__dpctl_keep const DPCTLSyclDeviceRef DRef);
250
* @return Returns the valid result if device exists else returns NULL.
251
* @ingroup DeviceInterface
252
*/
253
-[[deprecated("Use DPCTLDevice_WorkItemSizes3d instead")]] DPCTL_API
254
- __dpctl_keep size_t *
255
- DPCTLDevice_GetMaxWorkItemSizes(__dpctl_keep const DPCTLSyclDeviceRef DRef);
+#if __cplusplus
+[[deprecated("Use DPCTLDevice_WorkItemSizes3d instead")]]
+#endif
256
+DPCTL_API __dpctl_keep size_t *
257
+DPCTLDevice_GetMaxWorkItemSizes(__dpctl_keep const DPCTLSyclDeviceRef DRef);
258
259
/*!
260
* @brief Wrapper for get_info<info::device::max_work_group_size>().
0 commit comments