Skip to content

Commit

Permalink
RPP - 1.4 (#238)
Browse files Browse the repository at this point in the history
* RPP - 1.4

* macOS - Build Fix

* Cleanup
  • Loading branch information
kiritigowda committed Oct 23, 2023
1 parent 917c8fb commit 4936e57
Show file tree
Hide file tree
Showing 3 changed files with 58 additions and 13 deletions.
51 changes: 50 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
### Online Documentation
[RPP Documentation](https://gpuopen-professionalcompute-libraries.github.io/rpp/)

### RPP 1.2.0
### RPP 1.4.0 (Unreleased)

#### Added
* Updated Unit Tests
Expand All @@ -17,6 +17,55 @@
* Documentation
* Replaced the boost functions with std c++ library to remove boost library dependency

#### Fixed
* OCL Backend

### Tested Configurations
* Linux distribution
+ Ubuntu - `20.04` / `22.04`
+ CentOS - `7`
+ RHEL - `8`/`9`
* ROCm: rocm-core - `5.5.0.50500-63`
* Clang - Version `5.0.1` and above
* CMake - Version `3.22.3`
* IEEE 754-based half-precision floating-point library - Version `1.12.0`

### RPP 1.3.0

#### Added
* Updated Unit Tests

#### Optimizations
* CMakeLists

#### Changed
* Documentation

#### Fixed
* OCL Backend

### Tested Configurations
* Linux distribution
+ Ubuntu - `20.04` / `22.04`
+ CentOS - `7`
+ RHEL - `8`/`9`
* ROCm: rocm-core - `5.5.0.50500-63`
* Clang - Version `5.0.1` and above
* CMake - Version `3.22.3`
* Boost - Version `1.72`
* IEEE 754-based half-precision floating-point library - Version `1.12.0`

### RPP 1.2.0

#### Added
* Updated Unit Tests

#### Optimizations
* CMakeLists

#### Changed
* Documentation

#### Fixed
* OCL Backend
* Jenkins CI - OCL Build Test
Expand Down
13 changes: 5 additions & 8 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ set(CMAKE_CXX_STANDARD 17)
project(rpp CXX)

# RPP Version
set(VERSION "1.3.0")
set(VERSION "1.4.0")

set(CMAKE_INSTALL_LIBDIR "lib" CACHE STRING "Library install directory")
include(GNUInstallDirs)
Expand Down Expand Up @@ -126,9 +126,6 @@ if("${CMAKE_CURRENT_SOURCE_DIR}" STREQUAL "${CMAKE_BINARY_DIR}")
endif()
list(APPEND CMAKE_MODULE_PATH ${PROJECT_SOURCE_DIR}/cmake)

# Filesystem support
set(LINK_LIBRARY_LIST ${LINK_LIBRARY_LIST} stdc++fs)

# OpenMP
find_package(OpenMP REQUIRED)
if(APPLE)
Expand All @@ -148,10 +145,12 @@ if(APPLE)
set(OpenMP_libgomp_LIBRARY ${OpenMP_CXX_LIB_NAMES})
set(OpenMP_libiomp5_LIBRARY ${OpenMP_CXX_LIB_NAMES})
endif()
include_directories(/usr/local/include)
else()
set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} ${OpenMP_C_FLAGS}")
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} ${OpenMP_CXX_FLAGS}")
endif()
include_directories(${OpenMP_INCLUDE_DIRS})
set(LINK_LIBRARY_LIST ${LINK_LIBRARY_LIST} OpenMP::OpenMP_CXX)

# Threads
Expand All @@ -163,8 +162,8 @@ set(LINK_LIBRARY_LIST ${LINK_LIBRARY_LIST} Threads::Threads)
# -fPIC -- Generate position-independent code if possible.
# -mavx2 -- Support MMX, SSE, SSE2, SSE3, SSSE3, SSE4.1, SSE4.2, AVX and AVX2 built-in functions and code generation.
# -mfma -- Support MMX, SSE, SSE2, SSE3, SSSE3, SSE4.1, SSE4.2, AVX and FMA built-in functions and code generation.
# -std=gnu++14 -- Conform to the ISO 2014 C++ standard with GNU extensions.
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -fPIC -mavx2 -mf16c -mfma -std=gnu++14")
# -std=gnu++17 -- Conform to the ISO 2017 C++ standard with GNU extensions.
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -fPIC -mavx2 -mf16c -mfma -std=gnu++17")

# Backend specific settings
if("${BACKEND}" STREQUAL "HIP")
Expand Down Expand Up @@ -263,8 +262,6 @@ else()
message("-- ${Red}${PROJECT_NAME} set to build without ENABLE_SIMD_INTRINSICS${ColourReset}")
endif()


set(LINK_LIBRARY_LIST ${LINK_LIBRARY_LIST} stdc++)
message("-- ${White}${PROJECT_NAME} -- Using Compiler - Path:" ${CMAKE_CXX_COMPILER} "\tVersion:" ${CMAKE_CXX_COMPILER_VERSION} "\tCompiler:" ${CMAKE_CXX_COMPILER_ID}${ColourReset})
message("-- ${White}${PROJECT_NAME} -- CMAKE_CXX_FLAGS:${CMAKE_CXX_FLAGS}${ColourReset}")
message("-- ${White}${PROJECT_NAME} -- Link Libraries: ${LINK_LIBRARY_LIST}${ColourReset}")
Expand Down
7 changes: 3 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ doxygen .Doxyfile

* **OS**
+ Ubuntu `20.04`/`22.04`
+ CentOS `7`/`8`
+ CentOS `7`
+ RHEL `8`/`9`
+ SLES - `15-SP4`

Expand All @@ -65,7 +65,7 @@ doxygen .Doxyfile
scl enable llvm-toolset-7 bash
```

+ CentOS `8` and RHEL `8`/`9`
+ RHEL `8`/`9`
```
sudo yum install clang
```
Expand Down Expand Up @@ -210,9 +210,8 @@ Review all notable [changes](CHANGELOG.md#changelog) with the latest release

* Linux distribution
+ Ubuntu - `20.04` / `22.04`
+ CentOS - `7` / `8`
+ CentOS - `7`
+ RedHat - `8` / `9`
+ SLES - `15-SP4`
* ROCm: rocm-core - `5.7.0.50700-63`
* Protobuf - [V3.12.4](https://github.com/protocolbuffers/protobuf/releases/tag/v3.12.4)
* OpenCV - [4.6.0](https://github.com/opencv/opencv/releases/tag/4.6.0)

0 comments on commit 4936e57

Please sign in to comment.