Skip to content

Commit

Permalink
OpenMPTarget: Replace kokkos macros in desul.
Browse files Browse the repository at this point in the history
  • Loading branch information
Rahulkumar Gayatri committed May 31, 2023
1 parent 538d18d commit 925aca1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tpls/desul/include/desul/atomics/Thread_Fence_OpenMP.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ 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(KOKKOS_COMPILER_NVHPC)
#if _OPENMP > 201800 && !defined(_NVCOMPILER)

// 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 925aca1

Please sign in to comment.