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 support for CUDA.jl v5 #283

Merged
merged 1 commit into from
Dec 1, 2023
Merged

add support for CUDA.jl v5 #283

merged 1 commit into from
Dec 1, 2023

Conversation

frapac
Copy link
Collaborator

@frapac frapac commented Dec 1, 2023

Interestingly, it looks like the seed is not working if we call randn after allocating arrays on the device.

This PR adds support for CUDA.jl 5.0: the solution is to instantiate all the data in one place, to make sure the seed works correctly.

cc #282

@codecov-commenter
Copy link

Codecov Report

All modified and coverable lines are covered by tests ✅

Comparison is base (2c752d3) 75.57% compared to head (3c750d0) 75.50%.

❗ Your organization needs to install the Codecov GitHub app to enable full functionality.

Additional details and impacted files
@@            Coverage Diff             @@
##           master     #283      +/-   ##
==========================================
- Coverage   75.57%   75.50%   -0.08%     
==========================================
  Files          41       41              
  Lines        4529     4520       -9     
==========================================
- Hits         3423     3413      -10     
- Misses       1106     1107       +1     

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

@frapac frapac merged commit 43a2f8f into master Dec 1, 2023
5 of 6 checks passed
@frapac frapac deleted the fp/cuda5 branch December 1, 2023 17:14
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