Skip to content

Conversation

@baggepinnen
Copy link
Owner

@baggepinnen baggepinnen commented Apr 21, 2020

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

codecov bot commented Apr 21, 2020

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 168 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 Sentry.
📢 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.

3 participants