kokkos-execution 0.0.1
Loading...
Searching...
No Matches
macros.hpp
Go to the documentation of this file.
1#ifndef KOKKOS_EXECUTION_IMPL_MACROS_HPP
2#define KOKKOS_EXECUTION_IMPL_MACROS_HPP
3
4#include "Kokkos_Macros.hpp"
5 // NOLINTNEXTLINE(cppcoreguidelines-macro-usage)
23#define KOKKOS_EXECUTION_RETURNS_BRACED(_type_, ...) \
24 noexcept(noexcept(KOKKOS_IMPL_STRIP_PARENS(_type_){__VA_ARGS__}))->KOKKOS_IMPL_STRIP_PARENS(_type_) { \
25 return KOKKOS_IMPL_STRIP_PARENS(_type_){__VA_ARGS__}; \
26 }
27
28#endif // KOKKOS_EXECUTION_IMPL_MACROS_HPP