fwd.h
Go to the documentation of this file.
11 template <typename keyT, typename output_terminalsT, typename derivedT, typename input_valueTs = ttg::typelist<>>
15 template <typename keyT, typename output_terminalsT, typename derivedT, typename... input_valueTs>
16 using Op [[deprecated("use TT instead")]] = TT<keyT, output_terminalsT, derivedT, ttg::typelist<input_valueTs...>>;
18 template <typename keyT, typename output_terminalsT, typename derivedT, typename... input_valueTs>
41 inline void ttg_register_status(ttg::World world, const std::shared_ptr<std::promise<void>> &status_ptr);
Definition: world.h:17
Definition: ttg.h:188
Definition: ttg.h:67
constexpr auto data(C &c) -> decltype(c.data())
Definition: span.h:189
int num_threads()
Determine the number of compute threads to use by TTG when not given to ttg::initialize
Definition: env.cpp:15
void ttg_register_ptr(ttg::World world, const std::shared_ptr< T > &ptr)
Definition: ttg.h:148
Ptr< T > make_ptr(Args &&... args)
void ttg_initialize(int argc, char **argv, int num_threads=-1)
Definition: ttg.h:124
auto get_ptr(T &&obj)
void mark_device_out(std::tuple< Buffer &... > &b)
void ttg_broadcast(ttg::World world, T &data, int source_rank)
Definition: ttg.h:175
bool register_device_memory(std::tuple< Views &... > &views)
void post_device_out(std::tuple< Buffer &... > &b)
void ttg_register_status(ttg::World world, const std::shared_ptr< std::promise< void >> &status_ptr)
Definition: ttg.h:157
ttg::World ttg_default_execution_context()
Definition: ttg.h:137
A runtime-managed buffer mirrored between host and device memory.
Definition: buffer.h:10
Definition: fwd.h:57
Definition: ttvalue.h:8
Definition: fwd.h:60