|
Grid 0.7.0
|
#include <ThreadReduction.h>
Static Public Member Functions | |
| static void | SetCores (int cr) |
| static void | SetThreads (int thr) |
| static void | SetMaxThreads (void) |
| static int | GetHyperThreads (void) |
| static int | GetCores (void) |
| static int | GetThreads (void) |
| static int | SumArraySize (void) |
| static void | GetWork (int nwork, int me, int &mywork, int &myoff) |
| static void | GetWork (int nwork, int me, int &mywork, int &myoff, int units) |
| static void | GetWorkBarrier (int nwork, int &me, int &mywork, int &myoff) |
| static int | ThreadBarrier (void) |
| template<class obj> | |
| static void | ThreadSum (std::vector< obj > &sum_array, obj &val, int me) |
| static void | bcopy (const void *src, void *dst, size_t len) |
Static Public Attributes | |
| static int | _threads |
| static int | _hyperthreads |
| static int | _cores |
Definition at line 35 of file ThreadReduction.h.
|
inlinestatic |
Definition at line 41 of file ThreadReduction.h.
References _cores.
Referenced by GridParseLayout().
|
inlinestatic |
Definition at line 48 of file ThreadReduction.h.
Referenced by GridParseLayout().
|
inlinestatic |
Definition at line 56 of file ThreadReduction.h.
References _threads.
Referenced by GridParseLayout().
|
inlinestatic |
Definition at line 64 of file ThreadReduction.h.
|
inlinestatic |
Definition at line 65 of file ThreadReduction.h.
References _cores.
|
inlinestatic |
Definition at line 66 of file ThreadReduction.h.
References _threads.
Referenced by Grid_init(), GridLogLayout(), sum_cpu(), and sumD_cpu().
|
inlinestatic |
Definition at line 67 of file ThreadReduction.h.
References _threads.
|
inlinestatic |
Definition at line 69 of file ThreadReduction.h.
References _threads, and GetWork().
Referenced by GetWork(), GetWorkBarrier(), sum_cpu(), and sumD_cpu().
|
inlinestatic |
Definition at line 72 of file ThreadReduction.h.
|
inlinestatic |
Definition at line 86 of file ThreadReduction.h.
References GetWork(), and ThreadBarrier().
Referenced by bcopy().
|
inlinestatic |
Definition at line 91 of file ThreadReduction.h.
Referenced by GetWorkBarrier(), and ThreadSum().
|
inlinestatic |
Definition at line 100 of file ThreadReduction.h.
References _threads, and ThreadBarrier().
|
inlinestatic |
Definition at line 108 of file ThreadReduction.h.
References bcopy(), and GetWorkBarrier().
Referenced by bcopy().
|
static |
Definition at line 37 of file ThreadReduction.h.
Referenced by GetHyperThreads(), GetThreads(), GetWork(), SetMaxThreads(), SetThreads(), SumArraySize(), and ThreadSum().
|
static |
Definition at line 38 of file ThreadReduction.h.
|
static |
Definition at line 39 of file ThreadReduction.h.
Referenced by GetCores(), GetHyperThreads(), and SetCores().