Skip to content

Commit 53e4346

Browse files
committed
Report correct memory order capabilities for Native CPU
1 parent 4d16a65 commit 53e4346

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

source/adapters/native_cpu/device.cpp

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -294,10 +294,7 @@ UR_APIEXPORT ur_result_t UR_APICALL urDeviceGetInfo(ur_device_handle_t hDevice,
294294
return UR_RESULT_ERROR_INVALID_VALUE;
295295
case UR_DEVICE_INFO_ATOMIC_MEMORY_ORDER_CAPABILITIES: {
296296
ur_memory_order_capability_flags_t Capabilities =
297-
UR_MEMORY_ORDER_CAPABILITY_FLAG_RELAXED |
298-
UR_MEMORY_ORDER_CAPABILITY_FLAG_ACQUIRE |
299-
UR_MEMORY_ORDER_CAPABILITY_FLAG_RELEASE |
300-
UR_MEMORY_ORDER_CAPABILITY_FLAG_ACQ_REL;
297+
UR_MEMORY_ORDER_CAPABILITY_FLAG_RELAXED;
301298
return ReturnValue(Capabilities);
302299
}
303300
case UR_DEVICE_INFO_ATOMIC_MEMORY_SCOPE_CAPABILITIES: {

0 commit comments

Comments
 (0)