From 67dd851559593862e1ef1c831863ffc513cc2d83 Mon Sep 17 00:00:00 2001 From: Stanley Tsang Date: Tue, 17 Oct 2023 09:44:57 -0600 Subject: [PATCH] Remove deprecated references to amdgpu-target (#397) --- CHANGELOG.md | 3 ++- library/CMakeLists.txt | 5 ----- 2 files changed, 2 insertions(+), 6 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 1b17f1ff..c6891f20 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -21,8 +21,9 @@ move constructor and move assignment operator was deleted for this class. previous versions). - added missing `order` setter method for `threefry4x64` - fixed the default ordering parameter for `lfsr113` +- Build error when using clang++ directly due to unsupported references to amdgpu-target -## (Unreleased) rocRAND-2.10.17 for ROCm 5.5.0 +## rocRAND-2.10.17 for ROCm 5.5.0 ### Added - MT19937 pseudo random number generator based on M. Matsumoto and T. Nishimura, 1998, Mersenne Twister: A 623-dimensionally equidistributed uniform pseudorandom number generator. - New benchmark for the device API using Google Benchmark, `benchmark_rocrand_device_api`, replacing `benchmark_rocrand_kernel`. `benchmark_rocrand_kernel` is deprecated and will be removed in a future version. Likewise, `benchmark_curand_host_api` is added to replace `benchmark_curand_generate` and `benchmark_curand_device_api` is added to replace `benchmark_curand_kernel`. diff --git a/library/CMakeLists.txt b/library/CMakeLists.txt index c6ec6bf8..7a75d665 100644 --- a/library/CMakeLists.txt +++ b/library/CMakeLists.txt @@ -77,11 +77,6 @@ if(NOT USE_HIP_CPU) set(CUDA_HOST_COMPILER ${CMAKE_CXX_COMPILER}) else() target_link_libraries(rocrand PRIVATE hip::device) - if(NOT WIN32) - foreach(amdgpu_target ${AMDGPU_TARGETS}) - target_link_libraries(rocrand PRIVATE --amdgpu-target=${amdgpu_target}) - endforeach() - endif() endif() else() # Check hipRuntimeGetVersion() function availability