]> https://gitweb.dealii.org/ - dealii.git/commit
Fix a bug in CUDAWrappers::Vector::reinit 5908/head
authorBruno Turcksin <bruno.turcksin@gmail.com>
Fri, 16 Feb 2018 03:07:41 +0000 (22:07 -0500)
committerBruno Turcksin <bruno.turcksin@gmail.com>
Fri, 16 Feb 2018 14:05:45 +0000 (09:05 -0500)
commit8fa914c43080de987a1c04ef35267fc7909588f2
treeb96dc6a40cd95a59477539ec9d0c2b462b89cae4
parent5e191978f0d7e55ab818b50439d92fdd281fc79f
Fix a bug in CUDAWrappers::Vector::reinit

The second time that reinit was called the wrong number of elements was set to
zero.
source/lac/cuda_vector.cu
tests/cuda/cuda_vector_03.cu [new file with mode: 0644]
tests/cuda/cuda_vector_03.output [new file with mode: 0644]

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.