kokkos-execution 0.0.1
Loading...
Searching...
No Matches
env.hpp File Reference

Go to the source code of this file.

Macros

#define KOKKOS_EXECUTION_FORWARDING_GET_ENV(_type_, _obj_)
 Retrieve the environment of _obj_ (with forwarding). // NOLINTNEXTLINE(cppcoreguidelines-macro-usage).

Macro Definition Documentation

◆ KOKKOS_EXECUTION_FORWARDING_GET_ENV

#define KOKKOS_EXECUTION_FORWARDING_GET_ENV ( _type_,
_obj_ )
Value:
[[nodiscard]] \
constexpr auto get_env() const noexcept -> ::stdexec::__fwd_env_t<::stdexec::env_of_t<_type_>> { \
return ::stdexec::__fwd_env(::stdexec::get_env(_obj_)); \
}

Retrieve the environment of _obj_ (with forwarding). // NOLINTNEXTLINE(cppcoreguidelines-macro-usage).

Definition at line 7 of file env.hpp.