From 00ee2aaa3e35075cb5813310224100dda1e41dab Mon Sep 17 00:00:00 2001 From: Li Li Date: Tue, 6 Jun 2023 11:38:59 -0700 Subject: [PATCH] fix ROCm deprecating path (#1800) Summary: fix the deprecating path for the future rocm versions. Pull Request resolved: https://github.com/pytorch/FBGEMM/pull/1800 Reviewed By: q10 Differential Revision: D46487481 Pulled By: shintaro-iwasaki fbshipit-source-id: 27a32581387e77f00fc238c052704967b6faf94c --- fbgemm_gpu/cmake/Hip.cmake | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fbgemm_gpu/cmake/Hip.cmake b/fbgemm_gpu/cmake/Hip.cmake index 30eedab3b6..5ef5ce0752 100644 --- a/fbgemm_gpu/cmake/Hip.cmake +++ b/fbgemm_gpu/cmake/Hip.cmake @@ -202,7 +202,7 @@ IF(HIP_FOUND) set(rocthrust_DIR ${ROCM_PATH}/lib/cmake/rocthrust) set(ROCclr_DIR ${ROCM_PATH}/rocclr/lib/cmake/rocclr) set(ROCRAND_INCLUDE ${ROCM_PATH}/include) - set(ROCM_SMI_INCLUDE ${ROCM_PATH}/rocm_smi/include) + set(ROCM_SMI_INCLUDE ${ROCM_PATH}/include) else() message(FATAL_ERROR "\n***** The minimal ROCm version is 5.1.0 but have ${ROCM_VERSION_DEV} installed *****\n") endif()