Skip to content

[WIP] GPU usage for calculating stats#79

Open
gfoidl wants to merge 10 commits intomasterfrom
sample-gpu
Open

[WIP] GPU usage for calculating stats#79
gfoidl wants to merge 10 commits intomasterfrom
sample-gpu

Conversation

@gfoidl
Copy link
Copy Markdown
Owner

@gfoidl gfoidl commented Oct 15, 2018

GPU is used for computing the statistics for Sample, if the size is greater than a configurable threshould (defaults has to be determined).

If no CUDA compatible GPU is available, all computations are done on the CPU.

Usage of GPU can be disabled with the environment variable GFOIDL_STOCHASTICS_USE_GPU set to 0.
The use of the GPU can be forced when the aforementioned env-variable is set to force, i.e. the computation is performed on the GPU without consulting the threshold.

Fixes #77

  • win-dll
  • linux-so
  • large arrays (device limit)

@gfoidl gfoidl added this to the v2.0.0 milestone Oct 15, 2018
@gfoidl gfoidl self-assigned this Oct 15, 2018
@gfoidl gfoidl force-pushed the sample-gpu branch 2 times, most recently from 5b78c27 to 2d4e6c0 Compare October 19, 2018 11:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant