From 90ec640e5b370e8e34b5a37947600dde945de961 Mon Sep 17 00:00:00 2001 From: Steve Leung Date: Mon, 16 Sep 2024 16:59:09 -0400 Subject: [PATCH] cmake: fix client packages to depend on hipRAND, not rocRAND --- CHANGELOG.md | 1 + CMakeLists.txt | 8 ++++---- README.md | 4 ++-- 3 files changed, 7 insertions(+), 6 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 1e7fdce6..a3e8f144 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -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 diff --git a/CMakeLists.txt b/CMakeLists.txt index 36439b3c..0b55472f 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -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 ) diff --git a/README.md b/README.md index bb197adc..06604bed 100644 --- a/README.md +++ b/README.md @@ -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