From e8700f11ff1a86931e40f09ce0e2fb4b0ff56def Mon Sep 17 00:00:00 2001 From: Bruno Turcksin Date: Tue, 7 Jul 2020 00:32:10 +0000 Subject: [PATCH] Fix deprecation warning --- include/deal.II/base/array_view.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/include/deal.II/base/array_view.h b/include/deal.II/base/array_view.h index 823cc429be..49ead81f65 100644 --- a/include/deal.II/base/array_view.h +++ b/include/deal.II/base/array_view.h @@ -342,9 +342,9 @@ namespace internal { AssertCuda(cuda_error); if (std::is_same::value) - return attributes.memoryType == cudaMemoryTypeHost; + return attributes.type == cudaMemoryTypeHost; else - return attributes.memoryType == cudaMemoryTypeDevice; + return attributes.type == cudaMemoryTypeDevice; } else { -- 2.39.5