Skip to content

Commit d905a4b

Browse files
authored
Test Suite - updates (r-abishek#428)
* Test Suite - updates * Changelog - Updates * Readme - Fix * CMakeList - cleanup * Version - update * Version - Add note * Readme - updates * Readme - Updates * Readme - Fix add ldconfig
1 parent c8baab2 commit d905a4b

File tree

5 files changed

+59
-59
lines changed

5 files changed

+59
-59
lines changed

CHANGELOG.md

Lines changed: 19 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,25 @@
22

33
Full documentation for RPP is available at [https://rocm.docs.amd.com/projects/rpp/en/latest](https://rocm.docs.amd.com/projects/rpp/en/latest)
44

5-
## (Unreleased) RPP 1.8.0
5+
## RPP 1.9.0 (Unreleased)
6+
7+
### Changes
8+
9+
* Test - Prerequisites Updates
10+
11+
### Tested configurations
12+
13+
* Linux distribution
14+
* Ubuntu - `20.04` / `22.04`
15+
* CentOS - `7`
16+
* RHEL - `8`/`9`
17+
* ROCm: rocm-core - `6.2.0.60200-66`
18+
* Clang - Version `5.0.1`+
19+
* CMake - Version `3.16.3`+
20+
* IEEE 754-based half-precision floating-point library - Version `1.12.0`
21+
22+
23+
## RPP 1.8.0 for ROCm 6.3.0
624

725
### Changes
826

CMakeLists.txt

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ endif()
2929
set(CMAKE_CXX_STANDARD 17)
3030

3131
# RPP Version
32-
set(VERSION "1.8.0")
32+
set(VERSION "1.9.0")
3333

3434
# Set Project Version and Language
3535
project(rpp VERSION ${VERSION} LANGUAGES CXX)
@@ -247,9 +247,9 @@ if("${BACKEND}" STREQUAL "HIP")
247247
# To use RPP_BACKEND_HIP
248248
add_definitions(-DRPP_BACKEND_HIP=${RPP_BACKEND_HIP})
249249
if (EXISTS ${ROCM_PATH}/llvm/bin/clang++)
250-
set(COMPILER_FOR_HIP ${ROCM_PATH}/llvm/bin/clang++)
250+
set(COMPILER_FOR_HIP ${ROCM_PATH}/llvm/bin/clang++)
251251
else()
252-
set(COMPILER_FOR_HIP ${CMAKE_CXX_COMPILER})
252+
set(COMPILER_FOR_HIP ${CMAKE_CXX_COMPILER})
253253
endif()
254254
include_directories(${ROCM_PATH}/${CMAKE_INSTALL_INCLUDEDIR})
255255
link_directories(${HIP_PATH}/${CMAKE_INSTALL_LIBDIR})

README.md

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -150,7 +150,7 @@ The installer will copy
150150
* Documents folder into `/opt/rocm/share/doc/rpp`
151151

152152
>[!NOTE]
153-
> [Test suite prerequisites](utilities/test_suite/README.md) install is required to run tests
153+
> [Test suite prerequisites](utilities/test_suite#prerequisites) install is required to run tests
154154
155155
### Verify with rpp-test package
156156

@@ -206,5 +206,8 @@ All notable changes for each release are added to our [changelog](CHANGELOG.md).
206206
* Ubuntu - `20.04` / `22.04`
207207
* RedHat - `8` / `9`
208208
* SLES - `15-SP5`
209-
* ROCm: rocm-core - `6.1.0.60100-64`
209+
* ROCm: rocm-core - `6.2.0.60200-66`
210+
* CMake - Version `3.16.3`+
211+
* Clang - Version `5.0.1`+
212+
* half - IEEE 754-based half-precision floating-point library - Version `1.12.0` / package V`1.12.0.60200`
210213
* OpenCV - [4.6.0](https://github.com/opencv/opencv/releases/tag/4.6.0)

include/rpp_version.h

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,8 +37,9 @@ SOFTWARE.
3737
#ifdef __cplusplus
3838
extern "C" {
3939
#endif
40+
// NOTE: Match the version with CMakelists.txt version
4041
#define RPP_VERSION_MAJOR 1
41-
#define RPP_VERSION_MINOR 8
42+
#define RPP_VERSION_MINOR 9
4243
#define RPP_VERSION_PATCH 0
4344
#ifdef __cplusplus
4445
}

utilities/test_suite/README.md

Lines changed: 30 additions & 52 deletions
Original file line numberDiff line numberDiff line change
@@ -1,49 +1,18 @@
1-
# AMD ROCm Performance Primitives (RPP) Test Suite
1+
# RPP Test Suite
22

3-
This repository contains four test suites for the AMD ROCm Performance Primitives (RPP) library: for image/voxel/audio/miscellaneous augmentations processing. These test suites can be used to validate the functionality and performance of the AMD ROCm Performance Primitives (RPP) image/voxel/audio/miscellaneous functionalities.
3+
This repository contains four test suites for the RPP library: `image`/`voxel`/`audio`/`miscellaneous` augmentations processing. These test suites can be used to validate the functionality and performance of the RPP `image`/`voxel`/`audio`/`miscellaneous` augmentation functionalities.
44

5-
## Test suite prerequisites
5+
## Prerequisites
66

7-
* OpenCV `3.4.0`/`4.5.5`
8-
9-
* Install OpenCV prerequisites:
10-
11-
```bash
12-
sudo apt-get update
13-
sudo -S apt-get -y --allow-unauthenticated install build-essential libgtk2.0-dev libavcodec-dev libavformat-dev libswscale-dev python-dev python-numpy
14-
sudo -S apt-get -y --allow-unauthenticated install libtbb2 libtbb-dev libjpeg-dev libpng-dev libtiff-dev libdc1394-22-dev unzip wget
15-
```
16-
17-
* Download OpenCV `3.4.0` /`4.5.5`:
18-
19-
```bash
20-
wget https://github.com/opencv/opencv/archive/3.4.0.zip
21-
unzip 3.4.0.zip
22-
cd opencv-3.4.0/
23-
```
24-
25-
OR
26-
27-
```bash
28-
wget https://github.com/opencv/opencv/archive/4.5.5.zip
29-
unzip 4.5.5.zip
30-
cd opencv-4.5.5/
31-
```
32-
33-
* Install OpenCV:
34-
35-
```bash
36-
mkdir build
37-
cd build
38-
cmake -D WITH_GTK=ON -D WITH_JPEG=ON -D BUILD_JPEG=ON -D WITH_OPENCL=OFF -D WITH_OPENCLAMDFFT=OFF -D WITH_OPENCLAMDBLAS=OFF -D WITH_VA_INTEL=OFF -D WITH_OPENCL_SVM=OFF -D CMAKE_INSTALL_PREFIX=/usr/local ..
39-
sudo -S make -j128 <Or other number of threads to use>
40-
sudo -S make install
41-
sudo -S ldconfig
42-
```
43-
44-
* Install TurboJpeg:
7+
* OpenCV Version `3.X`/`4.X`
8+
```shell
9+
sudo apt install libopencv-dev
10+
```
4511

46-
```bash
12+
* [Turbo JPEG](https://libjpeg-turbo.org/)
13+
* Source: `https://github.com/libjpeg-turbo/libjpeg-turbo.git`
14+
* Tag: [3.0.2](https://github.com/libjpeg-turbo/libjpeg-turbo/releases/tag/3.0.2)
15+
```shell
4716
sudo apt-get install nasm
4817
sudo apt-get install wget
4918
git clone -b 3.0.2 https://github.com/libjpeg-turbo/libjpeg-turbo.git
@@ -59,37 +28,46 @@ This repository contains four test suites for the AMD ROCm Performance Primitive
5928
make -j$nproc
6029
sudo make install
6130
```
62-
* Libsndfile installation
63-
```
64-
sudo apt-get update
31+
32+
* Libsndfile
33+
```shell
6534
sudo apt-get install libsndfile1-dev
6635
```
6736

6837
* Imagemagick
69-
```
38+
```shell
7039
sudo apt-get install imagemagick
7140
```
7241

73-
* Nifti-Imaging nifti_clib
74-
```
75-
git clone git@github.com:NIFTI-Imaging/nifti_clib.git
42+
* Nifti-Imaging - [nifti_clib](https://github.com/NIFTI-Imaging/nifti_clib)
43+
```shell
44+
git clone https://github.com/NIFTI-Imaging/nifti_clib.git
7645
cd nifti_clib
7746
mkdir build
7847
cd build
7948
cmake ..
8049
sudo make -j$nproc install
8150
```
8251

83-
* Openpyxl
52+
* Python3 and Python3 PIP
53+
```shell
54+
sudo apt install python3-dev python3-pip
8455
```
56+
57+
* Python: Openpyxl
58+
```shell
8559
pip install openpyxl
8660
```
8761

88-
* Pandas
89-
```
62+
* Python: Pandas
63+
```shell
9064
pip install pandas
9165
```
9266

67+
>[!NOTE]
68+
> * All package installs are shown with the `apt` package manager. Use the appropriate package manager for your operating system.
69+
> * Run `sudo ldconfig` to configure dynamic run-time bindings
70+
9371
## Rpp Image Test Suite
9472
The image test suite can be executed under 2 backend scenarios - (HOST/HIP):
9573
- HOST backend - (On a CPU with HOST backend)

0 commit comments

Comments
 (0)