kokkos-execution 0.0.1
Loading...
Searching...
No Matches
return_thread_id.hpp File Reference
#include <thread>
#include "kokkos-execution/stdexec.hpp"

Go to the source code of this file.

Macros

#define THEN_RETURN_THREAD_ID   stdexec::then([]() noexcept { return std::this_thread::get_id(); })
 Return the thread ID.

Macro Definition Documentation

◆ THEN_RETURN_THREAD_ID

#define THEN_RETURN_THREAD_ID   stdexec::then([]() noexcept { return std::this_thread::get_id(); })

Return the thread ID.

Definition at line 9 of file return_thread_id.hpp.