vSMC  v3.0.0
Scalable Monte Carlo
Macros
Configuration

Configuration macros and default values if undefined. More...

Macros

#define VSMC_ALIGNED_MEMORY_TYPE   ::vsmc::AlignedMemoryTBB
 Default AlignedMemory type. More...
 
#define VSMC_ALIGNMENT   32
 The default alignment for scalar type. More...
 
#define VSMC_ALIGNMENT_MIN   16
 The minimum alignment for any type. More...
 
#define VSMC_RNG_AES_NI_BLOCKS   8
 AESEngine default blocks. More...
 
#define VSMC_RNG_ARS_ROUNDS   5
 ARSEngine default rounds. More...
 
#define VSMC_RNG_MINI_TYPE   ::vsmc::Philox2x32
 Default RNGMini type. More...
 
#define VSMC_RNG_PHILOX_ROUNDS   10
 PhiloxGenerator default rounds. More...
 
#define VSMC_RNG_PHILOX_VECTOR_LENGTH   4
 PhiloxGenerator default vector length. More...
 
#define VSMC_RNG_SET_TYPE   ::vsmc::RNGSetTBB
 Default RNG set type. More...
 
#define VSMC_RNG_THREEFRY_ROUNDS   20
 ThreefryGenerator default rounds. More...
 
#define VSMC_RNG_THREEFRY_VECTOR_LENGTH   4
 ThreefryGenerator default vector length. More...
 
#define VSMC_RNG_TYPE   ::vsmc::ARS
 Default RNG type. More...
 
#define VSMC_RNG_U01_USE_64BITS_DOUBLE   0
 Use 64-bits intermediate random integers for double precison output. More...
 
#define VSMC_RNG_U01_USE_FIXED_POINT   1
 Default U01 distribution using fixed point conversion. More...
 
#define VSMC_RUNTIME_ASSERT_AS_EXCEPTION   0
 Turn vSMC runtime assertions into exceptions. More...
 
#define VSMC_RUNTIME_WARNING_AS_EXCEPTION   0
 Turn vSMC runtime warnings into exceptions. More...
 
#define VSMC_SEED_RESULT_TYPE   unsigned
 Default result type of Seed. More...
 
#define VSMC_SMP_BACKEND   ::vsmc::BackendOMP
 Default SMP backend. More...
 
#define VSMC_STOP_WATCH_CLOCK_TYPE   std::chrono::high_resolution_clock
 Default C++11 clock used as StopWatch. More...
 

Detailed Description

Configuration macros and default values if undefined.

Macro Definition Documentation

#define VSMC_ALIGNED_MEMORY_TYPE   ::vsmc::AlignedMemoryTBB

Default AlignedMemory type.

Definition at line 68 of file aligned_memory.hpp.

#define VSMC_ALIGNMENT   32

The default alignment for scalar type.

Definition at line 50 of file aligned_memory.hpp.

#define VSMC_ALIGNMENT_MIN   16

The minimum alignment for any type.

Definition at line 56 of file aligned_memory.hpp.

#define VSMC_RNG_AES_NI_BLOCKS   8

AESEngine default blocks.

Definition at line 77 of file aes_ni.hpp.

#define VSMC_RNG_ARS_ROUNDS   5

ARSEngine default rounds.

Definition at line 71 of file aes_ni.hpp.

#define VSMC_RNG_MINI_TYPE   ::vsmc::Philox2x32

Default RNGMini type.

Definition at line 59 of file engine.hpp.

#define VSMC_RNG_PHILOX_ROUNDS   10

PhiloxGenerator default rounds.

Definition at line 60 of file philox.hpp.

#define VSMC_RNG_PHILOX_VECTOR_LENGTH   4

PhiloxGenerator default vector length.

Definition at line 66 of file philox.hpp.

#define VSMC_RNG_SET_TYPE   ::vsmc::RNGSetTBB

Default RNG set type.

Definition at line 47 of file rng_set.hpp.

#define VSMC_RNG_THREEFRY_ROUNDS   20

ThreefryGenerator default rounds.

Definition at line 62 of file threefry.hpp.

#define VSMC_RNG_THREEFRY_VECTOR_LENGTH   4

ThreefryGenerator default vector length.

Definition at line 68 of file threefry.hpp.

#define VSMC_RNG_TYPE   ::vsmc::ARS

Default RNG type.

Definition at line 41 of file engine.hpp.

#define VSMC_RNG_U01_USE_64BITS_DOUBLE   0

Use 64-bits intermediate random integers for double precison output.

Definition at line 48 of file u01_distribution.hpp.

#define VSMC_RNG_U01_USE_FIXED_POINT   1

Default U01 distribution using fixed point conversion.

Definition at line 42 of file u01_distribution.hpp.

#define VSMC_RUNTIME_ASSERT_AS_EXCEPTION   0

Turn vSMC runtime assertions into exceptions.

Definition at line 60 of file config.h.

#define VSMC_RUNTIME_WARNING_AS_EXCEPTION   0

Turn vSMC runtime warnings into exceptions.

Definition at line 66 of file config.h.

#define VSMC_SEED_RESULT_TYPE   unsigned

Default result type of Seed.

Definition at line 51 of file seed.hpp.

#define VSMC_SMP_BACKEND   ::vsmc::BackendOMP

Default SMP backend.

Definition at line 46 of file backend_base.hpp.

#define VSMC_STOP_WATCH_CLOCK_TYPE   std::chrono::high_resolution_clock

Default C++11 clock used as StopWatch.

Definition at line 44 of file stop_watch.hpp.