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 new Vector data types for .NET 7. #1023

Merged
merged 5 commits into from
Jul 12, 2023
Merged

Added new Vector data types for .NET 7. #1023

merged 5 commits into from
Jul 12, 2023

Conversation

m4rs-mt
Copy link
Owner

@m4rs-mt m4rs-mt commented Jun 29, 2023

This PR introduces new vectorized data types that are compatible with the INumberBase interfaces from .NET 7. These data types simplify the development of GPU-based algorithms in ILGPU by making it easier to generate vectorized code.

Note: This PR now also contains an additional IAccumulationVectorType interface to support more precise accumulation vectors used to aggregate information.

This PR depends on #1021 and #1022.

@m4rs-mt m4rs-mt added the feature A new feature (or feature request) label Jun 29, 2023
@m4rs-mt m4rs-mt added this to the v1.5 milestone Jun 29, 2023
@m4rs-mt m4rs-mt force-pushed the vectors branch 2 times, most recently from 2b841f0 to 32a92d6 Compare June 29, 2023 15:23
@m4rs-mt m4rs-mt force-pushed the vectors branch 2 times, most recently from 5e69dba to 9176b3b Compare July 6, 2023 15:52
MoFtZ
MoFtZ previously approved these changes Jul 6, 2023
m4rs-mt added a commit that referenced this pull request Jul 7, 2023
m4rs-mt added a commit that referenced this pull request Jul 7, 2023
@m4rs-mt m4rs-mt force-pushed the vectors branch 2 times, most recently from 1e5e2b9 to 491eefc Compare July 8, 2023 06:39
@m4rs-mt
Copy link
Owner Author

m4rs-mt commented Jul 8, 2023

I added new AsSpan and ForEach methods to iterate over all vector elements.

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