pytorch/torch/csrc/jit/codegen/fuser/cuda
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
..
fused_kernel.cpp Better error handling in torch/csrc/jit/codegen/* (#163948) 2025-10-02 01:10:09 +00:00
fused_kernel.h
resource_strings.h [ROCm] Reduce duplication in bfloat16_support_literal definition (#166147) 2025-10-29 16:59:03 +00:00