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

Added fixed-precision numbers using Int32 and Int64 base types. #1162

Merged
merged 5 commits into from
Feb 23, 2024

Conversation

m4rs-mt
Copy link
Owner

@m4rs-mt m4rs-mt commented Feb 1, 2024

This PR adds a variety of fixed-numbers numbers to ILGPU.Algorithms. In contrast to our fixed-precision types, these types are based on 10-based decimal places instead of powers of two. This allows many users in the field of scientific computing to reliably map their use cases to these fixed precision types.

Special thanks to @dfki-mako and @dfki-jugr for sharing their code with us and giving us the ability to upstream this code. This PR is based on their initial work and reshapes it to make it reusable and seamlessly integratabtle with the ILGPU code base.

Related to #1143.

@m4rs-mt m4rs-mt added the feature A new feature (or feature request) label Feb 1, 2024
@m4rs-mt m4rs-mt added this to the v2.0 milestone Feb 1, 2024
@m4rs-mt m4rs-mt force-pushed the fixed_ints branch 4 times, most recently from 8cd83f0 to ab341cf Compare February 1, 2024 09:19
@m4rs-mt m4rs-mt merged commit 18ed8ee into master Feb 23, 2024
63 checks passed
@m4rs-mt m4rs-mt deleted the fixed_ints branch February 23, 2024 16:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature A new feature (or feature request)
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants