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 back missing rng_from_array(::CuArray) method #2369

Merged
merged 2 commits into from
Jan 24, 2024

Conversation

Red-Portal
Copy link
Contributor

@Red-Portal Red-Portal commented Jan 21, 2024

Hi, for some reason, rng_from_array(::CuArray) was missing from the loading path in FluxCUDAExt.
Seems like it has been left behind when migrating to extensions.
I enabled it back, and added a corresponding tests.
For some reason, the tests/ext_cuda/utils.jl was also not being executed despite already containing a test case.
I also added this into the corresponding runtests.jl.

PR Checklist

  • Tests are added
  • Entry in NEWS.md
  • Documentation, if applicable

Copy link
Member

@ToucheSir ToucheSir left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Woops, that's quite the omission. Thanks!

@ToucheSir ToucheSir merged commit c2094d8 into FluxML:master Jan 24, 2024
5 of 8 checks passed
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.

2 participants