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

[CUDA] Sets the CUDA context in more methods #400

Merged
merged 1 commit into from
Sep 10, 2020
Merged

Conversation

dmed256
Copy link
Member

@dmed256 dmed256 commented Sep 10, 2020

Description

If multiple devices are created in the same process, the wrong context gets kept in a few places.

@codecov
Copy link

codecov bot commented Sep 10, 2020

Codecov Report

Merging #400 into main will increase coverage by 0.01%.
The diff coverage is n/a.

Impacted file tree graph

@@            Coverage Diff             @@
##             main     #400      +/-   ##
==========================================
+ Coverage   77.22%   77.23%   +0.01%     
==========================================
  Files         239      240       +1     
  Lines       18402    18406       +4     
==========================================
+ Hits        14211    14216       +5     
+ Misses       4191     4190       -1     
Impacted Files Coverage Δ
include/occa/core/memory.tpp 100.00% <0.00%> (ø)
src/tools/sys.cpp 65.55% <0.00%> (+0.16%) ⬆️
src/lang/specialMacros.cpp 59.48% <0.00%> (+0.86%) ⬆️

@dmed256 dmed256 merged commit c8a5876 into main Sep 10, 2020
@dmed256 dmed256 deleted the cuda/fix-missing-context branch September 10, 2020 03:35
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.

1 participant