float2::x and float2::y may not be the same as float on ROCm#35593
float2::x and float2::y may not be the same as float on ROCm#35593xuhdev wants to merge 1 commit intopytorch:masterfrom
Conversation
💊 CircleCI build failures summary and remediationsAs of commit a4c7075 (more details on the Dr. CI page): ✅ None of the build failures appear to be your fault 💚
🚧 1 upstream failure:These were probably caused by upstream breakages:
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 on the GitHub issue tracker. This comment has been revised 9 times. |
This causes ambiguity and can be triggered sometimes (e.g., by pytorch#35217). Explicitly convert them to float. error: conditional expression is ambiguous; 'const hip_impl::Scalar_accessor<float, Native_vec_, 0>' can be converted to 'float' and vice versa
facebook-github-bot
left a comment
There was a problem hiding this comment.
@ezyang is landing this pull request. If you are a Facebook employee, you can view this diff on Phabricator.
|
it looks like we may need to port this to 1.5, ROCm tests are failing in a similar way. |
…pytorch#35593) Summary: This causes ambiguity and can be triggered sometimes (e.g., by pytorch#35217). Explicitly convert them to float. error: conditional expression is ambiguous; 'const hip_impl::Scalar_accessor<float, Native_vec_, 0>' can be converted to 'float' and vice versa Pull Request resolved: pytorch#35593 Differential Revision: D20735663 Pulled By: ezyang fbshipit-source-id: ae6a38a08e59821bae13eb0b9f9bdf21a008d5c0
|
porting this looks necessary but not sufficient for 1.5, see #35784. |
…#35593) Summary: This causes ambiguity and can be triggered sometimes (e.g., by #35217). Explicitly convert them to float. error: conditional expression is ambiguous; 'const hip_impl::Scalar_accessor<float, Native_vec_, 0>' can be converted to 'float' and vice versa Pull Request resolved: #35593 Differential Revision: D20735663 Pulled By: ezyang fbshipit-source-id: ae6a38a08e59821bae13eb0b9f9bdf21a008d5c0
…#35593) Summary: This causes ambiguity and can be triggered sometimes (e.g., by pytorch#35217). Explicitly convert them to float. error: conditional expression is ambiguous; 'const hip_impl::Scalar_accessor<float, Native_vec_, 0>' can be converted to 'float' and vice versa Pull Request resolved: pytorch#35593 Differential Revision: D20735663 Pulled By: ezyang fbshipit-source-id: ae6a38a08e59821bae13eb0b9f9bdf21a008d5c0
This causes ambiguity and can be triggered sometimes (e.g., by #35217). Explicitly convert them to float.