mirror of
https://github.com/pytorch/pytorch.git
synced 2025-10-20 12:54:11 +08:00
[ROCm] remove HCC references (#111975)
- rename `__HIP_PLATFORM_HCC__` to `__HIP_PLATFORM_AMD__` - rename `HIP_HCC_FLAGS` to `HIP_CLANG_FLAGS` - rename `PYTORCH_HIP_HCC_LIBRARIES` to `PYTORCH_HIP_LIBRARIES` - workaround in tools/amd_build/build_amd.py until submodules are updated These symbols have had a long deprecation cycle and will finally be removed in ROCm 6.0. Pull Request resolved: https://github.com/pytorch/pytorch/pull/111975 Approved by: https://github.com/ezyang, https://github.com/hongxiayang
This commit is contained in:
committed by
PyTorch MergeBot
parent
f1785373c0
commit
28c0b07d19
@ -46,9 +46,9 @@
|
||||
// however hipblas v1 is still using its custom type
|
||||
#define HIP_R_16F HIPBLAS_R_16F
|
||||
#define HIP_R_32F HIPBLAS_R_32F
|
||||
#else // __HIP_PLATFORM_HCC
|
||||
#else // USE_ROCM
|
||||
#define CUBLAS_HALF_TYPE __half
|
||||
#endif // __HIP_PLATFORM_HCC
|
||||
#endif // USE_ROCM
|
||||
|
||||
#include "caffe2/utils/math/utils.h"
|
||||
|
||||
|
Reference in New Issue
Block a user