vSMC
vSMC: 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
 Defualt alignment. More...
 
#define VSMC_CBLAS_INT_TYPE   int
 Integer type of CBLAS routines. More...
 
#define VSMC_RNG_AES_BLOCKS   4
 AESEngine default blocks. More...
 
#define VSMC_RNG_ARS_BLOCKS   4
 ARSEngine default blocks. More...
 
#define VSMC_RNG_ARS_ROUNDS   5
 ARSEngine default rounds. 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<::vsmc::RNG>
 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::ThreefryAVX2
 Default RNG type. 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_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 62 of file aligned_memory.hpp.

#define VSMC_ALIGNMENT   32

Defualt alignment.

Definition at line 75 of file aligned_memory.hpp.

#define VSMC_CBLAS_INT_TYPE   int

Integer type of CBLAS routines.

Define this macro if the CBLAS interface has unusual integer types. For example, the CBLAS library use ILP64 while the rest of the program use LP64.

Definition at line 45 of file cblas.h.

#define VSMC_RNG_AES_BLOCKS   4

AESEngine default blocks.

Definition at line 48 of file aes.hpp.

#define VSMC_RNG_ARS_BLOCKS   4

ARSEngine default blocks.

Definition at line 47 of file ars.hpp.

#define VSMC_RNG_ARS_ROUNDS   5

ARSEngine default rounds.

Definition at line 41 of file ars.hpp.

#define VSMC_RNG_PHILOX_ROUNDS   10

PhiloxGenerator default rounds.

Definition at line 58 of file philox.hpp.

#define VSMC_RNG_PHILOX_VECTOR_LENGTH   4

PhiloxGenerator default vector length.

Definition at line 64 of file philox.hpp.

#define VSMC_RNG_SET_TYPE   ::vsmc::RNGSetTBB<::vsmc::RNG>

Default RNG set type.

Definition at line 46 of file rng_set.hpp.

#define VSMC_RNG_THREEFRY_ROUNDS   20

ThreefryGenerator default rounds.

Definition at line 48 of file threefry.hpp.

#define VSMC_RNG_THREEFRY_VECTOR_LENGTH   4

ThreefryGenerator default vector length.

Definition at line 54 of file threefry.hpp.

#define VSMC_RNG_TYPE   ::vsmc::ThreefryAVX2

Default RNG type.

Definition at line 43 of file engine.hpp.

#define VSMC_RUNTIME_ASSERT_AS_EXCEPTION   0

Turn vSMC runtime assertions into exceptions.

Definition at line 56 of file config.h.

#define VSMC_RUNTIME_WARNING_AS_EXCEPTION   0

Turn vSMC runtime warnings into exceptions.

Definition at line 62 of file config.h.

#define VSMC_SEED_RESULT_TYPE   unsigned

Default result type of Seed.

Definition at line 56 of file seed.hpp.

#define VSMC_STOP_WATCH_CLOCK_TYPE   std::chrono::high_resolution_clock

Default C++11 clock used as StopWatch.

Definition at line 40 of file stop_watch.hpp.