@@ -785,8 +785,7 @@ UR_APIEXPORT ur_result_t UR_APICALL urDeviceGetInfo(ur_device_handle_t hDevice,
785
785
UR_MEMORY_ORDER_CAPABILITY_FLAG_RELEASE;
786
786
return ReturnValue (Capabilities);
787
787
}
788
- case UR_DEVICE_INFO_ATOMIC_MEMORY_SCOPE_CAPABILITIES:
789
- case UR_DEVICE_INFO_ATOMIC_FENCE_SCOPE_CAPABILITIES: {
788
+ case UR_DEVICE_INFO_ATOMIC_MEMORY_SCOPE_CAPABILITIES: {
790
789
// SYCL2020 4.6.4.2 minimum mandated capabilities for
791
790
// atomic_fence/memory_scope_capabilities.
792
791
// Because scopes are hierarchical, wider scopes support all narrower
@@ -798,6 +797,14 @@ UR_APIEXPORT ur_result_t UR_APICALL urDeviceGetInfo(ur_device_handle_t hDevice,
798
797
UR_MEMORY_SCOPE_CAPABILITY_FLAG_WORK_GROUP;
799
798
return ReturnValue (Capabilities);
800
799
}
800
+ case UR_DEVICE_INFO_ATOMIC_FENCE_SCOPE_CAPABILITIES: {
801
+ uint64_t Capabilities = UR_MEMORY_SCOPE_CAPABILITY_FLAG_WORK_ITEM |
802
+ UR_MEMORY_SCOPE_CAPABILITY_FLAG_SUB_GROUP |
803
+ UR_MEMORY_SCOPE_CAPABILITY_FLAG_WORK_GROUP |
804
+ UR_MEMORY_SCOPE_CAPABILITY_FLAG_DEVICE |
805
+ UR_MEMORY_SCOPE_CAPABILITY_FLAG_SYSTEM;
806
+ return ReturnValue (Capabilities);
807
+ }
801
808
case UR_DEVICE_INFO_ATOMIC_FENCE_ORDER_CAPABILITIES: {
802
809
// SYCL2020 4.6.4.2 minimum mandated capabilities for
803
810
// atomic_fence_order_capabilities.
0 commit comments