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

commits and notes for v3.1.5 release #247

Merged
merged 9 commits into from
Mar 25, 2022

Conversation

cary-ilm
Copy link
Member

Patch release with miscellaneous bug/doc/build fixes.

In particular, this fixes an issue that could lead to incorrect values for numeric_limits. This also updates the CI workflow matrix to VFX-CY2022.

[#245] Use _WIN32 instead of _MSC_VER to fix mingw build
[#244] Fix 32-bit x86 build failure with 16c instructions
[#241] Move numeric_limits specializations into half.h
[#236] Change references to "master" branch to "main"

cary-ilm and others added 8 commits March 22, 2022 10:57
…eFoundation#241)

Previously, these specializations have been in the header halfLimit.h,
but without this header, the numeric_limits<> template provides
default specializations that return 0, so, for example,
std::numeric_limits<half>::min() would silently return 0 in code that
inadvertently omitted the #include <halfLimits.h>.

The numeric_limits specializations should be considered an inseparable
part of the class definition.

This change moves the specializations directly into half.h and
deprecates the halfLimits.h header altogether. For backwards
compatibility, it includes half.h with a warning.

An alternative would be to keep halfLimits.h and include it in half.h,
but then each header would include the other circularly, which is
awkward.

Signed-off-by: Cary Phillips <[email protected]>
…undation#244)

Add:
    #if defined(__F16C__)
    #        include <immintrin.h>
to the logic in half.h for including intrinsics header, which catches
the i386 case.

Signed-off-by: Cary Phillips <[email protected]>
…ndation#245)

* Use _WIN32 instead of _MSC_VER to fix mingw build

Signed-off-by: Cary Phillips <[email protected]>

* fix formatting

Signed-off-by: Cary Phillips <[email protected]>
Signed-off-by: Christina Tempelaar-Lietz <[email protected]>
Signed-off-by: Cary Phillips <[email protected]>
Signed-off-by: Cary Phillips <[email protected]>
@linux-foundation-easycla
Copy link

linux-foundation-easycla bot commented Mar 22, 2022

CLA Signed

The committers listed above are authorized under a signed CLA.

@cary-ilm cary-ilm merged commit 90c47b4 into AcademySoftwareFoundation:RB-3.1 Mar 25, 2022
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.

3 participants