Skip to content

Commit

Permalink
OpenMPTarget: Restore desul changes.
Browse files Browse the repository at this point in the history
  • Loading branch information
Rahulkumar Gayatri committed May 31, 2023
1 parent 925aca1 commit bf34573
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions tpls/desul/include/desul/atomics/Thread_Fence_OpenMP.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,7 @@ SPDX-License-Identifier: (BSD-3-Clause)
namespace desul {
namespace Impl {

// FIXME_OPENMPTARGET_NVHPC: NVHPC compiler does not support memory-order-clause in the flush construct in OpenMP.
#if _OPENMP > 201800 && !defined(_NVCOMPILER)
#if _OPENMP > 201800

// There is no seq_cst flush in OpenMP, isn't it the same anyway for fence?
inline void host_atomic_thread_fence(MemoryOrderSeqCst, MemoryScopeCore) {
Expand Down

0 comments on commit bf34573

Please sign in to comment.