fwd.h
Go to the documentation of this file.
18 template <typename keyT, typename output_terminalsT, typename derivedT, typename... input_valueTs>
19 using Op [[deprecated("use TT instead")]] = TT<keyT, output_terminalsT, derivedT, ttg::typelist<input_valueTs...>>;
21 template <typename keyT, typename output_terminalsT, typename derivedT, typename... input_valueTs>
44 inline void ttg_register_status(ttg::World world, const std::shared_ptr<std::promise<void>> &status_ptr);
Definition: world.h:17
Definition: ttg.h:194
Definition: ttg.h:73
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:154
Ptr< T > make_ptr(Args &&... args)
void ttg_initialize(int argc, char **argv, int num_threads=-1)
Definition: ttg.h:130
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:181
bool register_device_memory(std::tuple< Views &... > &views)
Definition: devicefunc.h:15
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:163
ttg::World ttg_default_execution_context()
Definition: ttg.h:143
A runtime-managed buffer mirrored between host and device memory.
Definition: buffer.h:12
Definition: fwd.h:60
Definition: ttvalue.h:8
Definition: fwd.h:63