From 1c1363f448b558832f805544300be532d304f347 Mon Sep 17 00:00:00 2001 From: Bruno Turcksin Date: Sat, 12 Jan 2019 22:02:29 -0500 Subject: [PATCH] Remove unused code --- tests/cuda/matrix_vector_mf.h | 15 --------------- 1 file changed, 15 deletions(-) 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 { -- 2.39.5