pytorch/torch/csrc/jit/codegen
rraminen deb776319b [ROCm] Reduce duplication in bfloat16_support_literal definition (#166147)
This PR refactors the bfloat16_support_literal constant in the PyTorch build logic to eliminate duplicated ROCm-specific code.

Previously, there were two nearly identical branches for ROCM_VERSION < 70000 and ROCM_VERSION >= 70000, differing only by a single typedef. These have been unified into one conditional block with a minimal version guard inside. (https://github.com/ROCm/pytorch/pull/2502)

Pull Request resolved: https://github.com/pytorch/pytorch/pull/166147
Approved by: https://github.com/jerrymannil, https://github.com/jeffdaily
2025-10-29 16:59:03 +00:00
..
cuda [2/N] Mark unused parameters in C++ code (#165121) 2025-10-15 03:04:39 +00:00
fuser [ROCm] Reduce duplication in bfloat16_support_literal definition (#166147) 2025-10-29 16:59:03 +00:00
onednn [doc]: Small typos (#162982) 2025-09-16 17:42:19 +00:00