Skip to content

Commit

Permalink
cmake: fix client packages to depend on hipRAND, not rocRAND
Browse files Browse the repository at this point in the history
  • Loading branch information
evetsso authored Sep 16, 2024
1 parent 4e1315e commit 90ec640
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 6 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ Documentation for rocFFT is available at

* Fixed incorrect results from 2-kernel 3D FFT plans that used non-default output strides.
* Allow plan descriptions to be reused with different strides for different plans.
* Fixed client packages to depend on hipRAND, not rocRAND.

## rocFFT 1.0.31 for ROCm 6.3.0

Expand Down
8 changes: 4 additions & 4 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -216,16 +216,16 @@ if( BUILD_CLIENTS_SAMPLES
rocm_package_setup_client_component(
tests
DEPENDS
DEB ${OPENMP_DEB} ${FFTW_DEB} rocrand
RPM ${OPENMP_RPM} ${FFTW_RPM} rocrand
DEB ${OPENMP_DEB} ${FFTW_DEB} hiprand
RPM ${OPENMP_RPM} ${FFTW_RPM} hiprand
)
endif()
if(BUILD_CLIENTS_BENCH)
rocm_package_setup_client_component(
benchmarks
DEPENDS
DEB rocrand
RPM rocrand
DEB hiprand
RPM hiprand
)
endif()
add_subdirectory( clients )
Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -58,8 +58,8 @@ You can install rocFFT using pre-built packages or building from source.
| Client | CMake option | Dependencies |
|:------|:-----------------|:-----------------|
| `rocfft-bench` | `-DBUILD_CLIENTS_BENCH=on` | None |
| `rocfft-test` | `-DBUILD_CLIENTS_TESTS=on` | Fastest Fourier Transform in the West (FFTW), GoogleTest |
| `rocfft-bench` | `-DBUILD_CLIENTS_BENCH=on` | hipRAND |
| `rocfft-test` | `-DBUILD_CLIENTS_TESTS=on` | FFTW (Fastest Fourier Transform in the West), GoogleTest, hipRAND |
| samples | `-DBUILD_CLIENTS_SAMPLES=on` | FFTW |
Clients are not built by default. To build them, use `-DBUILD_CLIENTS=on`. The build process
Expand Down

0 comments on commit 90ec640

Please sign in to comment.