From a2eb714ee4fd463e6d5badcf9c0e95ab4fb65b74 Mon Sep 17 00:00:00 2001 From: Daniel Arndt Date: Wed, 22 Jun 2022 08:31:13 -0400 Subject: [PATCH] Remove deprecated atomicAdd_wrapper --- .../changes/incompatibilities/20220622Arndt | 4 +++ include/deal.II/lac/cuda_atomic.h | 30 ------------------- 2 files changed, 4 insertions(+), 30 deletions(-) create mode 100644 doc/news/changes/incompatibilities/20220622Arndt diff --git a/doc/news/changes/incompatibilities/20220622Arndt b/doc/news/changes/incompatibilities/20220622Arndt new file mode 100644 index 0000000000..58949288bc --- /dev/null +++ b/doc/news/changes/incompatibilities/20220622Arndt @@ -0,0 +1,4 @@ +Removed: The deprecated LinearAlgebra::CUDAWrappers::atomicAdd_wrapper +has been removed. +
+(Daniel Arndt, 2022/06/22) diff --git a/include/deal.II/lac/cuda_atomic.h b/include/deal.II/lac/cuda_atomic.h index 5c56f1f4a6..9edcbcde46 100644 --- a/include/deal.II/lac/cuda_atomic.h +++ b/include/deal.II/lac/cuda_atomic.h @@ -26,36 +26,6 @@ namespace LinearAlgebra { namespace CUDAWrappers { - /** - * Provide atomicAdd for floats. - * - * @deprecated Use atomicAdd(address, val) directly. - * @ingroup CUDAWrappers - */ - DEAL_II_DEPRECATED - inline __device__ float - atomicAdd_wrapper(float *address, float val) - { - return atomicAdd(address, val); - } - - - - /** - * Provide atomicAdd for doubles. - * - * @deprecated Use atomicAdd(address, val) directly. - * @ingroup CUDAWrappers - */ - DEAL_II_DEPRECATED - inline __device__ double - atomicAdd_wrapper(double *address, double val) - { - return atomicAdd(address, val); - } - - - /** * Provide atomicMax for floats. * -- 2.39.5