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

Use external half hpp #196

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

airlied
Copy link
Contributor

@airlied airlied commented Sep 24, 2018

This imports half.hpp from half.sourceforge.net which is a MIT licenses half float implementation.

No idea if this is the best way to do this, but I reckon it's a good start. I've had to modify the API one bit to match the conformance tests.

(this is based on my vector swizzle branch in #195)

@airlied airlied force-pushed the use-external-half-hpp branch 4 times, most recently from 934a6d4 to 2379a52 Compare September 26, 2018 02:20
This imports half.hpp from the http://half.sourceforge.net/ project.
(remove explicit from upstream float constructor). It's MIT licensed.

I hope this is good enough for our needs.
@keryell
Copy link
Member

keryell commented Apr 12, 2019

What is the current status of this?
We are just discussing something similar in intel/llvm#78 (comment)

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

2 participants