From: Bruno Turcksin Date: Sun, 13 Jan 2019 03:02:29 +0000 (-0500) Subject: Remove unused code X-Git-Tag: v9.1.0-rc1~441^2 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1c1363f448b558832f805544300be532d304f347;p=dealii.git Remove unused code --- diff --git a/tests/cuda/matrix_vector_mf.h b/tests/cuda/matrix_vector_mf.h index 4d62d78cec..4a73a2b3b1 100644 --- a/tests/cuda/matrix_vector_mf.h +++ b/tests/cuda/matrix_vector_mf.h @@ -26,21 +26,6 @@ #include "../tests.h" -__device__ unsigned int -compute_thread_id() -{ - const unsigned int thread_num_in_block = - threadIdx.x + blockDim.x * threadIdx.y + - blockDim.x * blockDim.y * threadIdx.z; - const unsigned int n_threads_per_block = blockDim.x * blockDim.y * blockDim.z; - const unsigned int blocks_num_in_grid = - blockIdx.x + gridDim.x * blockIdx.y + gridDim.x * gridDim.y * blockIdx.z; - - return thread_num_in_block + blocks_num_in_grid * n_threads_per_block; -} - - - template class HelmholtzOperatorQuad {