[ROCm] Use float datatype for RNN test for MIOpen (#36772)
Summary:
This pull request changes the datatype for `test_RNN_cpu_vs_cudnn_no_dropout` on ROCm testing to float.
Currently MIOpen RNN does not support double datatype, so using only double would not run this test using MIOpen. To correctly test PyTorch RNN operator using MIOpen, we would need to test it using float tensors and module.
The changes in this PR addresses the comments in https://github.com/pytorch/pytorch/issues/34615
ezyang iotamudelta
Pull Request resolved: https://github.com/pytorch/pytorch/pull/36772
Differential Revision: D21089533
Pulled By: ezyang
fbshipit-source-id: b5781e4ca270d64c6b949b3f0436e7b4eb870e27