]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Fix CUDA build
authorDaniel Arndt <arndtd@ornl.gov>
Fri, 13 Mar 2020 21:42:06 +0000 (17:42 -0400)
committerDaniel Arndt <arndtd@ornl.gov>
Fri, 13 Mar 2020 21:42:06 +0000 (17:42 -0400)
include/deal.II/matrix_free/cuda_matrix_free.templates.h

index df97cbe8e15e50a81c2b250f15fbb49e99baf317..0a336616ee099ab4e1ca7e7771b91b3ac37be265 100644 (file)
@@ -893,7 +893,7 @@ namespace CUDAWrappers
 
         cuda_error =
           cudaMemcpyToSymbol(internal::get_global_co_shape_gradients<Number>(),
-                             shape_info_co.shape_gradients.data(),
+                             shape_info_co.data.front().shape_gradients.data(),
                              size_co_shape_values,
                              0,
                              cudaMemcpyHostToDevice);

In the beginning the Universe was created. This has made a lot of people very angry and has been widely regarded as a bad move.

Douglas Adams


Typeset in Trocchi and Trocchi Bold Sans Serif.