From: Bruno Turcksin Date: Tue, 7 Jul 2020 00:32:10 +0000 (+0000) Subject: Fix deprecation warning X-Git-Tag: v9.3.0-rc1~1314^2~3 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e8700f11ff1a86931e40f09ce0e2fb4b0ff56def;p=dealii.git Fix deprecation warning --- 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 {