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

Keep track of active handles to avoid early collection. #704

Merged
merged 2 commits into from
Feb 11, 2021

Conversation

maleadt
Copy link
Member

@maleadt maleadt commented Feb 10, 2021

Fixes #699.

@norci could you test?

@maleadt maleadt added bugfix This gets something working again. cuda libraries Stuff about CUDA library wrappers. labels Feb 10, 2021
@maleadt maleadt force-pushed the tb/gc_handle_cache branch 3 times, most recently from e7625e4 to 90a52e8 Compare February 10, 2021 12:52
@maleadt maleadt marked this pull request as ready for review February 10, 2021 13:09
@norci
Copy link
Contributor

norci commented Feb 10, 2021

Yes. this fixed the curand issue.

The code in #699 passed.

Many thanks.

@codecov
Copy link

codecov bot commented Feb 10, 2021

Codecov Report

Merging #704 (a85029d) into master (8888c55) will decrease coverage by 0.04%.
The diff coverage is 88.73%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master     #704      +/-   ##
==========================================
- Coverage   79.65%   79.60%   -0.05%     
==========================================
  Files         122      122              
  Lines        7352     7374      +22     
==========================================
+ Hits         5856     5870      +14     
- Misses       1496     1504       +8     
Impacted Files Coverage Δ
lib/utils/call.jl 89.13% <0.00%> (-4.06%) ⬇️
lib/cudnn/CUDNN.jl 65.45% <85.71%> (-0.59%) ⬇️
lib/cusparse/CUSPARSE.jl 93.75% <85.71%> (-2.92%) ⬇️
lib/cutensor/CUTENSOR.jl 96.42% <88.88%> (+0.42%) ⬆️
lib/cusolver/CUSOLVER.jl 94.44% <90.90%> (-1.71%) ⬇️
lib/cublas/CUBLAS.jl 82.92% <92.85%> (-0.41%) ⬇️
lib/curand/CURAND.jl 96.72% <95.23%> (+0.42%) ⬆️
lib/curand/random.jl 87.14% <0.00%> (-2.86%) ⬇️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 8888c55...a85029d. Read the comment docs.

@maleadt maleadt merged commit e58e645 into master Feb 11, 2021
@maleadt maleadt deleted the tb/gc_handle_cache branch February 11, 2021 07:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bugfix This gets something working again. cuda libraries Stuff about CUDA library wrappers.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

CURAND handles are collected early
2 participants