Skip to content

1.10

Choose a tag to compare

@alkino alkino released this 12 Feb 20:20
  • 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.