From d1028926ef218af2ca0aff64f76e832886ea7818 Mon Sep 17 00:00:00 2001 From: Julia Jiang Date: Wed, 20 Sep 2023 14:55:28 -0400 Subject: [PATCH] SWDEV-393746 - Fix for HIP-sample tests failure Change-Id: Ifb2dc03cfa82bb96f5f0d21b3848a5cda0baf9bc [ROCm/hip-tests commit: 547de9c274eaf810ffb1036c1e48f6401693d12f] --- .../samples/2_Cookbook/18_cmake_hip_device/README.md | 6 +----- .../samples/2_Cookbook/21_cmake_hip_cxx_clang/README.md | 5 ++--- 2 files changed, 3 insertions(+), 8 deletions(-) diff --git a/projects/hip-tests/samples/2_Cookbook/18_cmake_hip_device/README.md b/projects/hip-tests/samples/2_Cookbook/18_cmake_hip_device/README.md index c65418017f..5c4bb488d9 100644 --- a/projects/hip-tests/samples/2_Cookbook/18_cmake_hip_device/README.md +++ b/projects/hip-tests/samples/2_Cookbook/18_cmake_hip_device/README.md @@ -12,11 +12,7 @@ Note, users may need to add ADMGPU support as command line option, if test faile ``` CXX="$(hipconfig -l)"/clang++ cmake -DCMAKE_PREFIX_PATH=/opt/rocm -DAMDGPU_TARGETS="gfx1102" .. ``` -To enable compiler auto detection of gpu users may need to add ADMGPU support as command line option, -if test failed to run, for example, -``` -CXX="$(hipconfig -l)"/clang++ cmake -DCMAKE_PREFIX_PATH=/opt/rocm -DAMDGPU_TARGETS=native .. -``` + II. Test ``` diff --git a/projects/hip-tests/samples/2_Cookbook/21_cmake_hip_cxx_clang/README.md b/projects/hip-tests/samples/2_Cookbook/21_cmake_hip_cxx_clang/README.md index 9ee4ec1c95..41316e235d 100644 --- a/projects/hip-tests/samples/2_Cookbook/21_cmake_hip_cxx_clang/README.md +++ b/projects/hip-tests/samples/2_Cookbook/21_cmake_hip_cxx_clang/README.md @@ -7,10 +7,9 @@ rm -rf *; CXX="$(hipconfig -l)"/amdclang++ cmake -DCMAKE_PREFIX_PATH=/opt/rocm .. make ``` -To enable compiler auto detection of gpu users may need to add ADMGPU support as command line option, -if test failed to run, for example, +To enable compiler auto detection of gpu users may need to add ADMGPU support as command line option, if test failed to run, for example, ``` -CXX="$(hipconfig -l)"/amdclang++ cmake -DCMAKE_PREFIX_PATH=/opt/rocm -DAMDGPU_TARGETS=native .. +CXX="$(hipconfig -l)"/amdclang++ cmake -DCMAKE_PREFIX_PATH=/opt/rocm -DAMDGPU_TARGETS="gfx1102" .. ``` II. Test