Libtorch build for ROCM error: "aten/src/THH" not exist

I want to build libtorch for rocm from source and followed the instructions from here:Building libtorch using CMake. It occured this error:

CMake Error at aten/CMakeLists.txt:82 (add_subdirectory):
  add_subdirectory given source "src/THH" which is not an existing directory.
ROCm is enabled.

Directory “pytorch/aten/src/THH” does’t exist but it should be. According to pytorch/aten/CMakeLists.txt:

if(USE_ROCM)
  # TODO: AT_HIP_ENABLED (change this once we represent HIP as HIP in
  # ATen proper)
  set(AT_CUDA_ENABLED 1)
  add_subdirectory(src/THH)
  message("ROCm is enabled.")
elseif(USE_CUDA)
  set(AT_CUDA_ENABLED 1)
  add_subdirectory(src/THC)

If build for cuda, there exists the directory “pytorch/aten/src/THC”, but for rocm, the corresponding directory “THH” does not exist. I‘ve searched several versions pytorch source code, none of them have this directory.
So can someone tell me where can get this lost directory? Or have I missed something to install? I would appreciate for your help with this problem.