kokkos-execution 0.0.1
Loading...
Searching...
No Matches
return_thread_id.hpp
Go to the documentation of this file.
1#ifndef KOKKOS_EXECUTION_TESTS_UTILS_RETURN_THREAD_ID_HPP
2#define KOKKOS_EXECUTION_TESTS_UTILS_RETURN_THREAD_ID_HPP
3
4#include <thread>
5
7
9#define THEN_RETURN_THREAD_ID stdexec::then([]() noexcept { return std::this_thread::get_id(); })
10
11#endif // KOKKOS_EXECUTION_TESTS_UTILS_RETURN_THREAD_ID_HPP