#include <parallelfor.h>
Public Member Functions | |
constexpr | Granularity () |
constexpr | Granularity (Int granularity) |
constexpr | Granularity (Int granularity, Bool enableThreading) |
constexpr | Granularity (const Granularity &granularity) |
constexpr | Granularity (const Granularity &granularity, Bool enableThreading) |
Public Attributes | |
const Int | value |
|
constexpr |
Default granularity.
|
explicitconstexpr |
[in] | granularity | Number of iterations a worker thread will perfom en block. |
|
constexpr |
[in] | granularity | Number of iterations a worker thread will perfom en block. |
[in] | enableThreading | True: Parallelize loop False: Single threaded loop. |
|
constexpr |
|
constexpr |
const Int value |