TECA
The Toolkit for Extreme Climate Analysis
teca_thread_util.h File Reference
#include "teca_config.h"
#include "teca_common.h"
#include "teca_mpi.h"
#include <deque>
Include dependency graph for teca_thread_util.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

 teca_thread_util
 Codes for dealing with threading.
 

Functions

TECA_EXPORT int teca_thread_util::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)