cmake : fix typo in AMDGPU_TARGETS (#7356)

This commit is contained in:
Engininja2 2024-05-17 18:39:25 -06:00 committed by GitHub
parent b43272afa2
commit ef277de2ad
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -581,7 +581,7 @@ if (LLAMA_HIPBLAS)
else()
# Forward AMDGPU_TARGETS to CMAKE_HIP_ARCHITECTURES.
if(AMDGPU_TARGETS AND NOT CMAKE_HIP_ARCHITECTURES)
set(CMAKE_HIP_ARCHITECTURES ${AMDGPU_ARGETS})
set(CMAKE_HIP_ARCHITECTURES ${AMDGPU_TARGETS})
endif()
cmake_minimum_required(VERSION 3.21)
enable_language(HIP)