Optimized Belief Propagation (CPU and GPU)
|
Class to adjust and retrieve settings corresponding to CPU threads pinned to socket. More...
#include <CPUThreadsPinnedToSocket.h>
Public Member Functions | |
void | operator() (bool cpu_threads_pinned) const |
Adjust setting to specify that CPU threads to be pinned to socket or not. If true, set CPU threads to be pinned to socket via OMP_PLACES and OMP_PROC_BIND envionmental variable settings. If false, set OMP_PLACES and OMP_PROC_BIND environment variables to be blank. Currently commented out since it doesn't seem to have any effect. More... | |
RunData | SettingsAsRunData () const |
Retrieve environment variable values corresponding to CPU threads being pinned to socket and return as RunData object. More... | |
Class to adjust and retrieve settings corresponding to CPU threads pinned to socket.
Definition at line 35 of file CPUThreadsPinnedToSocket.h.
|
inline |
Adjust setting to specify that CPU threads to be pinned to socket or not. If true, set CPU threads to be pinned to socket via OMP_PLACES and OMP_PROC_BIND envionmental variable settings. If false, set OMP_PLACES and OMP_PROC_BIND environment variables to be blank. Currently commented out since it doesn't seem to have any effect.
cpu_threads_pinned |
Definition at line 45 of file CPUThreadsPinnedToSocket.h.
|
inline |
Retrieve environment variable values corresponding to CPU threads being pinned to socket and return as RunData object.
Definition at line 75 of file CPUThreadsPinnedToSocket.h.