File tree Expand file tree Collapse file tree 1 file changed +5
-3
lines changed Expand file tree Collapse file tree 1 file changed +5
-3
lines changed Original file line number Diff line number Diff line change @@ -250,9 +250,11 @@ DPCTLDevice_GetMaxWorkItemSizes3d(__dpctl_keep const DPCTLSyclDeviceRef DRef);
250
250
* @return Returns the valid result if device exists else returns NULL.
251
251
* @ingroup DeviceInterface
252
252
*/
253
- [[deprecated(" Use DPCTLDevice_WorkItemSizes3d instead" )]] DPCTL_API
254
- __dpctl_keep size_t *
255
- DPCTLDevice_GetMaxWorkItemSizes (__dpctl_keep const DPCTLSyclDeviceRef DRef);
253
+ #if __cplusplus || (defined(__GNUC__) && __GNUC__ > 10)
254
+ [[deprecated(" Use DPCTLDevice_WorkItemSizes3d instead" )]]
255
+ #endif
256
+ DPCTL_API __dpctl_keep size_t *
257
+ DPCTLDevice_GetMaxWorkItemSizes (__dpctl_keep const DPCTLSyclDeviceRef DRef);
256
258
257
259
/* !
258
260
* @brief Wrapper for get_info<info::device::max_work_group_size>().
You can’t perform that action at this time.
0 commit comments