ttg 1.0.0
Template Task Graph (TTG): flowgraph-based programming model for high-performance distributed-memory algorithms
Loading...
Searching...
No Matches
env.h
Go to the documentation of this file.
1// SPDX-License-Identifier: BSD-3-Clause
2//
3// Created by Eduard Valeyev on 11/5/21.
4//
5
6#ifndef TTG_UTIL_ENV_H
7#define TTG_UTIL_ENV_H
8
9namespace ttg {
10 namespace detail {
11
13
18 int num_threads();
19
26 bool force_device_comm();
27
28 } // namespace detail
29} // namespace ttg
30
31#endif // TTG_UTIL_ENV_H
bool force_device_comm()
Definition env.cpp:34
int num_threads()
Determine the number of compute threads to use by TTG when not given to ttg::initialize
Definition env.cpp:16
top-level TTG namespace contains runtime-neutral functionality
Definition keymap.h:9