]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Fix a bug in cuda matrix-free. 4795/head
authorBruno Turcksin <bruno.turcksin@gmail.com>
Sat, 12 Aug 2017 21:42:58 +0000 (17:42 -0400)
committerBruno Turcksin <bruno.turcksin@gmail.com>
Sat, 12 Aug 2017 21:42:58 +0000 (17:42 -0400)
include/deal.II/matrix_free/cuda_matrix_free.templates.h

index b90a7bb3dbbdf2a66364432241109390536f9294..0f3b7eccb912082960017ae686fe8d18b4fc755f 100644 (file)
@@ -470,7 +470,7 @@ namespace CUDAWrappers
     if (update_flags & update_gradients)
       {
         cuda_error = cudaMemcpyToSymbol(internal::global_shape_gradients,
-                                        &shape_info.shape_gradient[0],
+                                        &shape_info.shape_gradients[0],
                                         size_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.