We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d9a860a commit 44191ddCopy full SHA for 44191dd
test/conformance/device_code/CMakeLists.txt
@@ -3,7 +3,12 @@
3
# See LICENSE.TXT
4
# SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
5
6
-set(AMD_ARCH "${UR_CONFORMANCE_AMD_ARCH}")
+if(NOT "${AMD_ARCH}" STREQUAL "" AND "${UR_CONFORMANCE_AMD_ARCH}" STREQUAL "")
7
+ message(WARNING "Passing the HIP target architecture with AMD_ARCH is deprecated. "
8
+ "Please use UR_CONFORMANCE_AMD_ARCH instead.")
9
+else()
10
+ set(AMD_ARCH "${UR_CONFORMANCE_AMD_ARCH}")
11
+endif()
12
13
if("${AMD_ARCH}" STREQUAL "" AND "${TARGET_TRIPLES}" MATCHES "amd")
14
find_package(RocmAgentEnumerator)
0 commit comments