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