From d8aad69582d7596904e4492fdf68562e3f0c0797 Mon Sep 17 00:00:00 2001 From: Giovanni LB Date: Sat, 3 Jun 2023 13:35:50 -0300 Subject: [PATCH] Added GFX11 compilation for tests Change-Id: I4483a0439fba0921cd9304b4bf45447b9a94b065 [ROCm/rocprofiler commit: f1540675837d94a6ff0f1a52d7d462b9920c410c] --- projects/rocprofiler/build.sh | 2 +- projects/rocprofiler/tests/featuretests/profiler/CMakeLists.txt | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/projects/rocprofiler/build.sh b/projects/rocprofiler/build.sh index be2b905134..8d0a74fbdb 100755 --- a/projects/rocprofiler/build.sh +++ b/projects/rocprofiler/build.sh @@ -71,7 +71,7 @@ if [ -n "$ROCM_RPATH" ] ; then LD_RUNPATH_FLAG=" -Wl,--enable-new-dtags -Wl,--rp if [ -z "$TO_CLEAN" ] ; then TO_CLEAN=yes; fi if [ -z "$RUN_TEST" ] ; then RUN_TEST=no; fi if [ -z "$ASAN" ] ; then ASAN=False; fi -if [ -z "$GPU_LIST" ] ; then GPU_LIST='gfx900 gfx906 gfx908 gfx90a gfx1030'; fi +if [ -z "$GPU_LIST" ] ; then GPU_LIST='gfx900 gfx906 gfx908 gfx90a gfx1030 gfx1100'; fi ROCPROFILER_ROOT=$(cd $ROCPROFILER_ROOT && echo $PWD) diff --git a/projects/rocprofiler/tests/featuretests/profiler/CMakeLists.txt b/projects/rocprofiler/tests/featuretests/profiler/CMakeLists.txt index 6dd1d5e290..c1010848ba 100644 --- a/projects/rocprofiler/tests/featuretests/profiler/CMakeLists.txt +++ b/projects/rocprofiler/tests/featuretests/profiler/CMakeLists.txt @@ -136,7 +136,7 @@ function(generate_hsaco TARGET_ID INPUT_FILE OUTPUT_FILE) set(HSACO_TARGET_LIST ${HSACO_TARGET_LIST} ${PROJECT_BINARY_DIR}/tests/featuretests/profiler/${OUTPUT_FILE} PARENT_SCOPE) endfunction(generate_hsaco) -set(GPU_LIST "gfx900" "gfx906" "gfx908" "gfx90a" "gfx1030") +set(GPU_LIST "gfx900" "gfx906" "gfx908" "gfx90a" "gfx1030" "gfx1100") foreach(target_id ${GPU_LIST}) ## generate kernel bitcodes generate_hsaco(${target_id} ${CMAKE_CURRENT_SOURCE_DIR}/apps/copy.cl ${target_id}_copy.hsaco)