Skip to content

Commit b7c8ac1

Browse files
committed
UR_DEVICE_USM_ACCESS_CAPABILITY_FLAG_ATOMIC_CONCURRENT_ACCESS is removed from supported features of host memory as cuda does not support concurrent atomic access of from host and device to pinned memory.
1 parent 7371150 commit b7c8ac1

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

source/adapters/cuda/device.cpp

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -691,8 +691,7 @@ UR_APIEXPORT ur_result_t UR_APICALL urDeviceGetInfo(ur_device_handle_t hDevice,
691691
// respect to other CPUs and GPUs in the system
692692
Value = UR_DEVICE_USM_ACCESS_CAPABILITY_FLAG_ACCESS |
693693
UR_DEVICE_USM_ACCESS_CAPABILITY_FLAG_ATOMIC_ACCESS |
694-
UR_DEVICE_USM_ACCESS_CAPABILITY_FLAG_CONCURRENT_ACCESS |
695-
UR_DEVICE_USM_ACCESS_CAPABILITY_FLAG_ATOMIC_CONCURRENT_ACCESS;
694+
UR_DEVICE_USM_ACCESS_CAPABILITY_FLAG_CONCURRENT_ACCESS;
696695
} else {
697696
// on GPU architectures with compute capability lower than 6.x, atomic
698697
// operations from the GPU to CPU memory will not be atomic with respect

0 commit comments

Comments
 (0)