env.h
Go to the documentation of this file.
1 //
2 // Created by Eduard Valeyev on 11/5/21.
3 //
4 
5 #ifndef TTG_UTIL_ENV_H
6 #define TTG_UTIL_ENV_H
7 
8 namespace ttg {
9  namespace detail {
10 
12 
17  int num_threads();
18 
25  bool force_device_comm();
26 
27  } // namespace detail
28 } // namespace ttg
29 
30 #endif // TTG_UTIL_ENV_H
bool force_device_comm()
Definition: env.cpp:33
int num_threads()
Determine the number of compute threads to use by TTG when not given to ttg::initialize
Definition: env.cpp:15
top-level TTG namespace contains runtime-neutral functionality
Definition: keymap.h:8