From b2a75bd5e6e11863bed6374a09f4c816485de8ce Mon Sep 17 00:00:00 2001 From: Daniel Arndt Date: Fri, 13 Mar 2020 17:42:06 -0400 Subject: [PATCH] Fix CUDA build --- include/deal.II/matrix_free/cuda_matrix_free.templates.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/deal.II/matrix_free/cuda_matrix_free.templates.h b/include/deal.II/matrix_free/cuda_matrix_free.templates.h index df97cbe8e1..0a336616ee 100644 --- a/include/deal.II/matrix_free/cuda_matrix_free.templates.h +++ b/include/deal.II/matrix_free/cuda_matrix_free.templates.h @@ -893,7 +893,7 @@ namespace CUDAWrappers cuda_error = cudaMemcpyToSymbol(internal::get_global_co_shape_gradients(), - shape_info_co.shape_gradients.data(), + shape_info_co.data.front().shape_gradients.data(), size_co_shape_values, 0, cudaMemcpyHostToDevice); -- 2.39.5