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 support for Generic Math using net70 SDK. #898

Merged
merged 1 commit into from
Dec 6, 2022

Conversation

MoFtZ
Copy link
Collaborator

@MoFtZ MoFtZ commented Dec 5, 2022

Fixes #802.

Note that the functionality is only available on net70. The feature is still marked as "preview" on net60, and we would need to compile ILGPU with the "enable preview features" flag turned on, which we do not want to do.

@m4rs-mt m4rs-mt added the feature A new feature (or feature request) label Dec 5, 2022
@m4rs-mt m4rs-mt added this to the v1.4 milestone Dec 5, 2022
@m4rs-mt m4rs-mt merged commit 97e80b0 into m4rs-mt:master Dec 6, 2022
@MoFtZ MoFtZ deleted the feature/generic-math branch December 6, 2022 19:31
lostmsu added a commit to losttech/ILGPU that referenced this pull request Feb 13, 2023
This replaces specific GenericMath support introduced in 7bf5578 ( m4rs-mt#898 )  with generic support for static abstract interface members.

Support is implemented using the constrained flag on the call instruction the same way it used to be done on virtual method calls. The call instruction with constrained flag set contains concrete type, that implements given interface, which makes it possible to find concrete method implementation to be called.

fixes m4rs-mt#929
lostmsu added a commit to losttech/ILGPU that referenced this pull request Feb 14, 2023
This replaces specific GenericMath support introduced in 7bf5578 ( m4rs-mt#898 )  with generic support for static abstract interface members.

Support is implemented using the constrained flag on the call instruction the same way it used to be done on virtual method calls. The call instruction with constrained flag set contains concrete type, that implements given interface, which makes it possible to find concrete method implementation to be called.

fixes m4rs-mt#929
lostmsu added a commit to losttech/ILGPU that referenced this pull request Feb 14, 2023
This replaces specific GenericMath support introduced in 7bf5578 ( m4rs-mt#898 )  with generic support for static abstract interface members.

Support is implemented using the constrained flag on the call instruction the same way it used to be done on virtual method calls. The call instruction with constrained flag set contains concrete type, that implements given interface, which makes it possible to find concrete method implementation to be called.

fixes m4rs-mt#929
lostmsu added a commit to losttech/ILGPU that referenced this pull request Feb 14, 2023
This replaces specific GenericMath support introduced in 7bf5578 ( m4rs-mt#898 )  with generic support for static abstract interface members.

Support is implemented using the constrained flag on the call instruction the same way it used to be done on virtual method calls. The call instruction with constrained flag set contains concrete type, that implements given interface, which makes it possible to find concrete method implementation to be called.

fixes m4rs-mt#929
lostmsu added a commit to losttech/ILGPU that referenced this pull request Feb 15, 2023
This replaces specific GenericMath support introduced in 7bf5578 ( m4rs-mt#898 )  with generic support for static abstract interface members.

Support is implemented using the constrained flag on the call instruction the same way it used to be done on virtual method calls. The call instruction with constrained flag set contains concrete type, that implements given interface, which makes it possible to find concrete method implementation to be called.

fixes m4rs-mt#929
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.

INumber constraint support
2 participants