]> https://gitweb.dealii.org/ - dealii.git/commit
Better guard CUDA code 7057/head
authorBruno Turcksin <bruno.turcksin@gmail.com>
Mon, 13 Aug 2018 14:41:30 +0000 (14:41 +0000)
committerBruno Turcksin <bruno.turcksin@gmail.com>
Mon, 13 Aug 2018 18:01:02 +0000 (18:01 +0000)
commit7fa70419cf0d1ff397a1630081ea0854bb9bc6c3
treeac372cb79479c7b78e7e497cc535c860774eb288
parent8733bb676105357c522d2826b5dcc41714c34c32
Better guard CUDA code

Use __CUDACC__ guard around CUDA to make sure that the CUDA code is only sent to
nvcc and not the host compiler when CUDA support is enable.
14 files changed:
include/deal.II/base/cuda.h
include/deal.II/base/numbers.h
include/deal.II/lac/cuda_atomic.h
include/deal.II/lac/cuda_kernels.h
include/deal.II/lac/cuda_kernels.templates.h
include/deal.II/lac/cuda_solver_direct.h
include/deal.II/lac/cuda_sparse_matrix.h
include/deal.II/lac/read_write_vector.templates.h
include/deal.II/matrix_free/cuda_fe_evaluation.h
include/deal.II/matrix_free/cuda_hanging_nodes_internal.h
include/deal.II/matrix_free/cuda_matrix_free.h
include/deal.II/matrix_free/cuda_matrix_free.templates.h
include/deal.II/matrix_free/cuda_tensor_product_kernels.h
tests/all-headers/CMakeLists.txt

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.