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 fp16 Intrinsics #510

Merged
merged 3 commits into from
Sep 30, 2019
Merged

Add fp16 Intrinsics #510

merged 3 commits into from
Sep 30, 2019

Conversation

njwhite
Copy link
Contributor

@njwhite njwhite commented Sep 11, 2019

..because NVVM IR doesn't support half types!

@njwhite
Copy link
Contributor Author

njwhite commented Sep 12, 2019

CI failures seem spurious?

Copy link
Contributor

@stuartarchibald stuartarchibald left a comment

Choose a reason for hiding this comment

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

Thanks for the patch, looks good. One minor thing to resolve before merge.

Convert from an i16 to the given FP type
"""
if not to:
raise TypeError("expected a float return type")
Copy link
Contributor

Choose a reason for hiding this comment

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

Is this branch exercised in the tests?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I've added another test so all the error messages are covered now

@stuartarchibald
Copy link
Contributor

This will also need a merge from master once the thing causing the test failures is fixed (probably #513)

@stuartarchibald
Copy link
Contributor

Close/Open to restart all of CI easily. Apologies for the noise.

@njwhite
Copy link
Contributor Author

njwhite commented Sep 27, 2019

Thanks for the review @stuartarchibald, I've pushed fixes to address all your comments -

Copy link
Contributor

@stuartarchibald stuartarchibald left a comment

Choose a reason for hiding this comment

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

Thanks for the fixes.

@sklam sklam merged commit 2f13c21 into numba:master Sep 30, 2019
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.

None yet

3 participants