Skip to content

Commit 0e38fda

Browse files
authored
Merge pull request #1552 from mmoadeli/atomic-access-on-host-malloc
[CUDA] Remove the support of concurrent atomic access to host allocated pinned memory.
2 parents f496880 + b7c8ac1 commit 0e38fda

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
@@ -692,8 +692,7 @@ UR_APIEXPORT ur_result_t UR_APICALL urDeviceGetInfo(ur_device_handle_t hDevice,
692692
// respect to other CPUs and GPUs in the system
693693
Value = UR_DEVICE_USM_ACCESS_CAPABILITY_FLAG_ACCESS |
694694
UR_DEVICE_USM_ACCESS_CAPABILITY_FLAG_ATOMIC_ACCESS |
695-
UR_DEVICE_USM_ACCESS_CAPABILITY_FLAG_CONCURRENT_ACCESS |
696-
UR_DEVICE_USM_ACCESS_CAPABILITY_FLAG_ATOMIC_CONCURRENT_ACCESS;
695+
UR_DEVICE_USM_ACCESS_CAPABILITY_FLAG_CONCURRENT_ACCESS;
697696
} else {
698697
// on GPU architectures with compute capability lower than 6.x, atomic
699698
// operations from the GPU to CPU memory will not be atomic with respect

0 commit comments

Comments
 (0)