Skip to content

GPU support by adding CuParticles#80

Draft
baggepinnen wants to merge 7 commits into
masterfrom
gpu
Draft

GPU support by adding CuParticles#80
baggepinnen wants to merge 7 commits into
masterfrom
gpu

Conversation

@baggepinnen

@baggepinnen baggepinnen commented Apr 21, 2020

Copy link
Copy Markdown
Owner

This PR adds a type CuParticles that works as regular Particles but is backed by a CuArray. Expect in the range of 5-7x speedup over Particles if the sample size is 1e5 - 1e7.

EDIT 2021-04-22: For complex functions, the benefit of CuParticles may appear already above 1e3 particles.

Future memory-management improvements to the GPU ecosystem is likely to improve upon this number.

@codecov

codecov Bot commented Apr 21, 2020

Copy link
Copy Markdown

Codecov Report

❌ Patch coverage is 88.32117% with 16 lines in your changes missing coverage. Please review.
✅ Project coverage is 93.73%. Comparing base (fb61791) to head (f42a6e7).
⚠️ Report is 171 commits behind head on master.

Files with missing lines Patch % Lines
src/plotting.jl 87.01% 10 Missing ⚠️
src/particles.jl 85.00% 3 Missing ⚠️
src/types.jl 0.00% 2 Missing ⚠️
src/MonteCarloMeasurements.jl 0.00% 1 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##           master      #80      +/-   ##
==========================================
- Coverage   94.27%   93.73%   -0.54%     
==========================================
  Files          18       19       +1     
  Lines         891      990      +99     
==========================================
+ Hits          840      928      +88     
- Misses         51       62      +11     
Flag Coverage Δ
unittests 93.73% <88.32%> (?)

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@baggepinnen baggepinnen marked this pull request as draft April 21, 2020 23:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants