]> https://gitweb.dealii.org/ - dealii.git/commit
Static variable cannot be allocated inside a __device__ function 6905/head
authorBruno Turcksin <bruno.turcksin@gmail.com>
Mon, 9 Jul 2018 19:04:43 +0000 (19:04 +0000)
committerBruno Turcksin <bruno.turcksin@gmail.com>
Mon, 9 Jul 2018 19:04:43 +0000 (19:04 +0000)
commita61c2e4a6ca7e7a5b1d07c425ff2248c0f766093
tree7b2ea1708a3ab5f1fc6206624d2d52329461d594
parent90f604125c5ae647622dc34899d565af61d7afb0
Static variable cannot be allocated inside a __device__ function

Fix the following error:
dynamic initialization is not supported for function-scope static
variables within a __device__/__global__ function
include/deal.II/base/tensor.h

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.