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

[1.8] Workaround arm64 gcc error in std::copysign (#51900) #52049

Merged
merged 1 commit into from
Feb 12, 2021

Conversation

malfet
Copy link
Contributor

@malfet malfet commented Feb 10, 2021

Move definition of copysign template and specialization for
bfloat16/half types before first use of copysign in that file

Add comment explaining why this is necessary

Fixes #51889

This is a cherry-pick of #51900 into release/1.8 branch

Reviewed By: walterddr

Summary:
Move definition of copysign template and specialization for
bfloat16/half types before first use of copysign in that file

Add comment explaining why this is necessary

Fixes pytorch#51889

Pull Request resolved: pytorch#51900

Reviewed By: walterddr

Differential Revision: D26321741

Pulled By: malfet

fbshipit-source-id: 888858b11d9708fa140fe9c0570cc5a24599205b
@codecov
Copy link

codecov bot commented Feb 10, 2021

Codecov Report

Merging #52049 (4201e12) into release/1.8 (9e5bcc1) will increase coverage by 0.33%.
The diff coverage is n/a.

@@               Coverage Diff               @@
##           release/1.8   #52049      +/-   ##
===============================================
+ Coverage        80.48%   80.82%   +0.33%     
===============================================
  Files             1948     1948              
  Lines           213176   213176              
===============================================
+ Hits            171584   172295     +711     
+ Misses           41592    40881     -711     

@malfet malfet merged commit f071020 into pytorch:release/1.8 Feb 12, 2021
@facebook-github-bot
Copy link
Contributor

💊 CI failures summary and remediations

As of commit 4201e12 (more details on the Dr. CI page):


Commit 4201e12 was recently pushed. Waiting for builds...


This comment was automatically generated by Dr. CI (expand for details).Follow this link to opt-out of these comments for your Pull Requests.

Please report bugs/suggestions to the (internal) Dr. CI Users group.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants