]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Remove unused variables
authorBruno Turcksin <bruno.turcksin@gmail.com>
Mon, 15 Apr 2019 21:34:46 +0000 (21:34 +0000)
committerBruno Turcksin <bruno.turcksin@gmail.com>
Mon, 15 Apr 2019 21:35:34 +0000 (21:35 +0000)
include/deal.II/matrix_free/cuda_matrix_free.templates.h

index 86da1001383d18edf86b3df0675c6dce7e9b84bd..67720c10edd27c71b0fe637b52304faff795c19b 100644 (file)
@@ -514,11 +514,6 @@ namespace CUDAWrappers
       constexpr unsigned int cells_per_block =
         cells_per_block_shmem(dim, Functor::n_dofs_1d - 1);
 
-      constexpr unsigned int n_dofs_per_block =
-        cells_per_block * Functor::n_local_dofs;
-      constexpr unsigned int n_q_points_per_block =
-        cells_per_block * Functor::n_q_points;
-
       const unsigned int local_cell = threadIdx.x / Functor::n_dofs_1d;
       const unsigned int cell =
         local_cell + cells_per_block * (blockIdx.x + gridDim.x * blockIdx.y);

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.