From 0d38082f910022c2ac0f492d9a88710bdafbb23b Mon Sep 17 00:00:00 2001 From: Daniel Arndt Date: Fri, 2 Dec 2022 11:41:48 -0500 Subject: [PATCH] Don't use std::is_same_v yet --- include/deal.II/lac/la_parallel_vector.templates.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/include/deal.II/lac/la_parallel_vector.templates.h b/include/deal.II/lac/la_parallel_vector.templates.h index 00cba2c164..21b101d18b 100644 --- a/include/deal.II/lac/la_parallel_vector.templates.h +++ b/include/deal.II/lac/la_parallel_vector.templates.h @@ -933,7 +933,7 @@ namespace LinearAlgebra if (data.values.size() != 0) { #ifdef DEAL_II_COMPILER_CUDA_AWARE - if (std::is_same_v) + if (std::is_same::value) { const cudaError_t cuda_error_code = cudaMemset(data.values.data() + @@ -1134,7 +1134,7 @@ namespace LinearAlgebra { # if defined(DEAL_II_COMPILER_CUDA_AWARE) && \ !defined(DEAL_II_MPI_WITH_CUDA_SUPPORT) - if (std::is_same_v) + if (std::is_same::value) { if (import_data.values_host_buffer.size() == 0) Kokkos::resize(import_data.values_host_buffer, @@ -1156,7 +1156,7 @@ namespace LinearAlgebra # if defined DEAL_II_COMPILER_CUDA_AWARE && \ !defined(DEAL_II_MPI_WITH_CUDA_SUPPORT) - if (std::is_same_v) + if (std::is_same::value) { // Move the data to the host and then move it back to the // device. We use values to store the elements because the function -- 2.39.5