pytorch
5c423cae - Add precision tests for CUDA half linspace+logspace (#31962)

Commit
4 years ago
Add precision tests for CUDA half linspace+logspace (#31962) Summary: Pull Request resolved: https://github.com/pytorch/pytorch/pull/31962 I added precision tests for CUDA half, float, and double. The precision for CUDA half seems bad, but I checked the numbers against previous versions of pytorch. The output of CUDA Half linspace+logspace are exactly the same when compared with 1.2.0. Test Plan: - Run CI Differential Revision: D19320182 Pulled By: zou3519 fbshipit-source-id: 38d3d4dea2807875ed0b0ec2b93b19c10a289988
Author
Parents
Loading