pytorch/c10
rohithkrn 72e3d66f50 [ROCm] Fix for std::isnan regression in ROCm (#34664)
Summary:
Filing this PR since we are in the process of migrating ROCm CI to ROCm version 3.1. This patch is to ensure the correct functionality of float <-> bfloat16 conversion in rocm3.1. `std::isnan` regresses with rocm3.1.

iotamudelta ezyang

cc: ashishfarmer (original author of this patch)
Pull Request resolved: https://github.com/pytorch/pytorch/pull/34664

Differential Revision: D20440972

Pulled By: ezyang

fbshipit-source-id: 1ccb911c88f05566d94e01878df6c70cf7f31242
2020-03-17 15:03:17 -07:00
..
benchmark
core ChannelsLast3d support is_contiguous, contiguous, suggest_memory_format, caching (#33033) 2020-03-06 06:02:03 -08:00
cuda Add min function to cuda math compat (#34723) 2020-03-13 14:31:09 -07:00
hip
macros [caffe2] do not declare __assert_fail in clang builds (#33893) 2020-03-10 14:45:03 -07:00
test
util [ROCm] Fix for std::isnan regression in ROCm (#34664) 2020-03-17 15:03:17 -07:00
CMakeLists.txt