diff --git a/sycl/doc/syclcompat/README.md b/sycl/doc/syclcompat/README.md index 45b48a3896d33..8b840a8eec0c3 100644 --- a/sycl/doc/syclcompat/README.md +++ b/sycl/doc/syclcompat/README.md @@ -1129,8 +1129,8 @@ spec, and so should be used with caution. namespace syclcompat { namespace experimental { - #if defined(__AMDGPU__) || defined(__NVPTX__) -// seq_cst currently not working with AMD and Nvidia Backends +#if defined(__AMDGPU__) +// seq_cst currently not working for AMD constexpr sycl::memory_order barrier_memory_order = sycl::memory_order::acq_rel; #else constexpr sycl::memory_order barrier_memory_order = sycl::memory_order::seq_cst; diff --git a/sycl/include/syclcompat/util.hpp b/sycl/include/syclcompat/util.hpp index f6b9ccf937d41..b644971465e4a 100644 --- a/sycl/include/syclcompat/util.hpp +++ b/sycl/include/syclcompat/util.hpp @@ -281,9 +281,7 @@ inline int get_sycl_language_version() { namespace experimental { -#if defined(__AMDGPU__) || defined(__NVPTX__) -// FIXME: https://github.com/intel/llvm/pull/12516 adds seq_cst support for the -// CUDA backend. +#if defined(__AMDGPU__) constexpr sycl::memory_order barrier_memory_order = sycl::memory_order::acq_rel; #else constexpr sycl::memory_order barrier_memory_order = sycl::memory_order::seq_cst;