SWDEV-393746 - Fix for HIP-sample tests failure
Change-Id: Ifb2dc03cfa82bb96f5f0d21b3848a5cda0baf9bc
Этот коммит содержится в:
коммит произвёл
Julia Jiang
родитель
cdd59ef727
Коммит
547de9c274
@@ -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
|
||||
|
||||
```
|
||||
|
||||
@@ -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
|
||||
|
||||
|
||||
Ссылка в новой задаче
Block a user