← 返回首页
Implement oneAPI half precision RNG by christophe-murphy · Pull Request #3662 · arrayfire/arrayfire · GitHub
Skip to content

Navigation Menu

Toggle navigation
Sign in
Appearance settings
Search or jump to...

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Include my email address so I can be contacted

Saved searches

Use saved searches to filter your results more quickly

Appearance settings
Resetting focus

Implement oneAPI half precision RNG#3662

Merged
christophe-murphy merged 1 commit into
masterfrom
implement_oneapi_half_rng
Jun 13, 2025
Merged

Implement oneAPI half precision RNG#3662
christophe-murphy merged 1 commit into
masterfrom
implement_oneapi_half_rng

Conversation

Copy link
Copy Markdown
Contributor

The writeOut routines for the uniform and normal distribution RNG were not implemented for the half type on the oneAPI back end. This resulted in undefined behavior when using the randn and randu methods. They have now been implemented.

Checklist

  • Rebased on latest master
  • Code compiles
  • Tests pass

The writeOut routines for the uniform and normal distribution RNG were not implemented for the half type on the oneAPI back end. This resulted in undefined behavior when using the randn and randu methods. They have now been implemented.
christophe-murphy added this to the 3.10 milestone Jun 13, 2025
Hide details View details christophe-murphy merged commit d4e96e3 into master Jun 13, 2025
1 of 4 checks passed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
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

Footer

© 2026 GitHub, Inc.