8000 aotriton.cmake: move message before downloading · pytorch/pytorch@008f831 · GitHub
[go: up one dir, main page]

Skip to content

Commit 008f831

Browse files
committed
aotriton.cmake: move message before downloading
1 parent 0add8c2 commit 008f831

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cmake/External/aotriton.cmake

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -142,9 +142,9 @@ if(NOT __AOTRITON_INCLUDED)
142142
set(__AOTRITON_SYSTEM_ROCM "${HIP_VERSION_MAJOR}.${HIP_VERSION_MINOR}")
143143
list(FIND __AOTRITON_ROCM_LIST "rocm${__AOTRITON_SYSTEM_ROCM}" __AOTRITON_RUNTIME_INDEX)
144144
if(${__AOTRITON_RUNTIME_INDEX} LESS 0)
145-
aotriton_build_from_source(ON aotriton_runtime)
146145
message(STATUS "Cannot find AOTriton runtime for ROCM ${__AOTRITON_SYSTEM_ROCM}. \
147146
Build runtime from source")
147+
aotriton_build_from_source(ON aotriton_runtime)
148148
else()
149149
aotriton_download_runtime(${__AOTRITON_RUNTIME_INDEX} aotriton_runtime)
150150
endif()

0 commit comments

Comments
 (0)
0