6 int main(
int argc,
char *argv[]) {
9 auto tt = ttg::make_tt([]() { std::cout <<
"Hello, World!\n"; });
int main(int argc, char *argv[])
top-level TTG namespace contains runtime-neutral functionality
void execute(ttg::World world)
Starts the execution in the given execution context.
void initialize(int argc, char **argv, int num_threads=-1, RestOfArgs &&...)
ttg::World & get_default_world()
void fence(ttg::World world)
Returns when all tasks associated with the given execution context have finished on all ranks.
void finalize()
Finalizes the TTG runtime.
int rank(World world=default_execution_context())
std::enable_if_t<(std::is_convertible_v< decltype(*(std::declval< TTBasePtrs >())), TTBase & > &&...), bool > make_graph_executable(TTBasePtrs &&...tts)
Make the TTG tts executable. Applies.