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

Go to the source code of this file.

Classes

struct  Tests::Utils::Functors::StoreThreadID

Namespaces

namespace  Tests
namespace  Tests::Utils
namespace  Tests::Utils::Functors

Macros

#define THEN_STORE_THREAD_ID(__id__)
 Add a stdexec::then calling Tests::Utils::Functors::StoreThreadID. // NOLINTNEXTLINE(cppcoreguidelines-macro-usage).
#define UPON_ERROR_STORE_THREAD_ID(__id__)
 Add a stdexec::upon_error calling Tests::Utils::Functors::StoreThreadID. // NOLINTNEXTLINE(cppcoreguidelines-macro-usage).

Macro Definition Documentation

◆ THEN_STORE_THREAD_ID

#define THEN_STORE_THREAD_ID ( __id__)
Value:

Add a stdexec::then calling Tests::Utils::Functors::StoreThreadID. // NOLINTNEXTLINE(cppcoreguidelines-macro-usage).

Definition at line 20 of file store_thread_id.hpp.

◆ UPON_ERROR_STORE_THREAD_ID

#define UPON_ERROR_STORE_THREAD_ID ( __id__)
Value:
stdexec::upon_error(Tests::Utils::Functors::StoreThreadID{__id__})

Add a stdexec::upon_error calling Tests::Utils::Functors::StoreThreadID. // NOLINTNEXTLINE(cppcoreguidelines-macro-usage).

Definition at line 23 of file store_thread_id.hpp.