You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
R123EXAMPLE_ENVCONF_SEED environment variable provides seed to most pi_* examples
R123EXAMPLE_ENVCONF_CUDA_DEVICE and R123EXAMPLE_ENVCONF_OPENCL_DEVICE allow selection of non-default GPUs, e.g. R123EXAMPLE_ENVCONF_CUDA_DEVICE=980 pi_cuda or R123EXAMPLE_ENVCONF_OPENCL_DEVICE=680 pi_opencl
Updated hardcoded device core detection with newer GPUs (Kepler, Maxwell) and changed default cores from 1 to 384 to run more sensible number of iterations on unrecognized devices.
moved lots of arbitrary, funny, irrelevant constants into example_seeds.h so that they do not confuse the punters.
Tested on ARMv7 (32bit) and `ARM A53 (64bit) with Freescale/Linaro toolchain gcc 4.8. Needed workaround for -O3 compiler bug on ARMv7.