Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[WIP] GPU usage for calculating stats #79

Open
wants to merge 10 commits into
base: master
Choose a base branch
from
Open

[WIP] GPU usage for calculating stats #79

wants to merge 10 commits into from

Conversation

gfoidl
Copy link
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