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

Add lock around cfunction lookup #589

Merged
merged 5 commits into from
Dec 7, 2020
Merged

Add lock around cfunction lookup #589

merged 5 commits into from
Dec 7, 2020

Conversation

vchuravy
Copy link
Member

@vchuravy vchuravy commented Dec 4, 2020

Works around JuliaLang/julia#38709 and fixes #588

@vchuravy vchuravy requested a review from maleadt December 4, 2020 23:28
lib/cudadrv/occupancy.jl Outdated Show resolved Hide resolved
lib/cudadrv/occupancy.jl Outdated Show resolved Hide resolved
lib/cudadrv/occupancy.jl Outdated Show resolved Hide resolved
@codecov
Copy link

codecov bot commented Dec 6, 2020

Codecov Report

Merging #589 (4ff9ca6) into master (8eb218d) will increase coverage by 0.00%.
The diff coverage is 100.00%.

Impacted file tree graph

@@           Coverage Diff           @@
##           master     #589   +/-   ##
=======================================
  Coverage   79.94%   79.94%           
=======================================
  Files         116      116           
  Lines        6870     6872    +2     
=======================================
+ Hits         5492     5494    +2     
  Misses       1378     1378           
Impacted Files Coverage Δ
lib/cudadrv/occupancy.jl 92.00% <100.00%> (+0.33%) ⬆️
src/pool.jl 73.70% <0.00%> (+0.10%) ⬆️

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 aa591bb...8479675. Read the comment docs.

@maleadt
Copy link
Member

maleadt commented Dec 7, 2020

Maybe add an inline comment pointing to the issue? Otherwise we'll never delete that lock.

Co-authored-by: Valentin Churavy <vchuravy@users.noreply.github.com>
@maleadt maleadt merged commit d727f4d into master Dec 7, 2020
@maleadt maleadt deleted the vc/lock_cfunction branch December 7, 2020 15:23
maleadt pushed a commit that referenced this pull request Jan 5, 2021
maleadt pushed a commit that referenced this pull request Jan 6, 2021
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.

mapreducedim! not threadsafe
2 participants