Skip to content

Commit

Permalink
Fix defines
Browse files Browse the repository at this point in the history
  • Loading branch information
G-071 committed Oct 4, 2023
1 parent d016e65 commit 9958a54
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions include/stream_manager.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -20,11 +20,16 @@
#include "../include/detail/config.hpp"
#include <hpx/async_cuda/cuda_executor.hpp>

// Redefintion required for non-recycling executors
// Without it, default constructing the executors (independent) would not work
#if defined(CPPUDDLE_DEACTIVATE_EXECUTOR_RECYCLING)
// Do only define if Kokkos is not found
#ifndef KOKKOS_ENABLE_SERIAL
namespace hpx { namespace kokkos {
enum class execution_space_mode { global, independent };
}}
#endif
#endif

/// Turns a std::array_mutex into an scoped lock
template<typename mutex_array_t>
Expand Down

0 comments on commit 9958a54

Please sign in to comment.