1 #ifndef teca_thread_utils_h
2 #define teca_thread_utils_h
6 #include "teca_config.h"
92 int n_threads_per_device,
int n_ranks_per_device,
bool bind,
bool verbose,
93 int &n_threads, std::deque<int> &affinity, std::vector<int> &device_ids);
p_teca_error_handler error_handler TECA_EXPORT
The global error handler instance.
Codes for dealing with threading.
Definition: teca_thread_util.h:14
TECA_EXPORT int thread_parameters(MPI_Comm comm, int base_core_id, int n_requested, int n_threads_per_device, int n_ranks_per_device, bool bind, bool verbose, int &n_threads, std::deque< int > &affinity, std::vector< int > &device_ids)