SWDEV-420894 - Remove directed tests
Point users to correct hip-tests path. Remove references of directed test from code. Replace documentation which used directed test with a native sample. Change-Id: I3e8b5b5b40c0847e03d3aa637ea5b0c0d06c1201
This commit is contained in:
committed by
Rahul Garg
parent
f324a8f9ee
commit
405d029422
@@ -123,47 +123,14 @@ hip_prof_gen.py -v -p -t --priv <hip>/include/hip/hip_runtime_api.h \
|
||||
|
||||
### Build HIP tests
|
||||
|
||||
#### Build HIP directed tests
|
||||
Developers can build HIP directed tests right after build HIP commands,
|
||||
|
||||
```shell
|
||||
sudo make install
|
||||
make -j$(nproc) build_tests
|
||||
```
|
||||
By default, all HIP directed tests will be built and generated under the folder `$CLR_DIR/build/hipamd`directed_tests.
|
||||
Take HIP directed device APIs tests, as an example, all available test applications will have executable files generated under,
|
||||
`$CLR_DIR/build/hipamd/directed_tests/runtimeApi/device`.
|
||||
|
||||
Run all HIP directed_tests, use the command,
|
||||
|
||||
```shell
|
||||
ctest
|
||||
```
|
||||
Or
|
||||
```shell
|
||||
make test
|
||||
```
|
||||
|
||||
Build and run a single directed test, use the follow command as an example,
|
||||
|
||||
```shell
|
||||
make directed_tests.texture.hipTexObjPitch
|
||||
cd $CLR_DIR/build/hipamd/directed_tests/texcture
|
||||
./hipTexObjPitch
|
||||
```
|
||||
Please note, the integrated HIP directed tests, will be deprecated in future release.
|
||||
|
||||
|
||||
##### Build HIP catch tests
|
||||
|
||||
HIP catch tests, with new architectured Catch2, are official seperated from HIP project, exist in HIP tests repository, can be built via the following instructions.
|
||||
|
||||
##### Get HIP tests source code
|
||||
#### Get HIP tests source code
|
||||
|
||||
```shell
|
||||
git clone -b "$ROCM_BRANCH" https://github.com/ROCm-Developer-Tools/hip-tests.git
|
||||
```
|
||||
##### Build HIP tests from source
|
||||
#### Build HIP tests from source
|
||||
|
||||
```shell
|
||||
export HIPTESTS_DIR="$(readlink -f hip-tests)"
|
||||
@@ -183,7 +150,7 @@ cd $HIPTESTS_DIR/build/catch_tests/unit/texture
|
||||
./TextureTest
|
||||
```
|
||||
|
||||
##### Build HIP Catch2 standalone test
|
||||
#### Build HIP Catch2 standalone test
|
||||
|
||||
HIP Catch2 supports build a standalone test, for example,
|
||||
|
||||
|
||||
Reference in New Issue
Block a user