From 873a22ebc634653bfc0c3f9ed03b84d7f8a8886e Mon Sep 17 00:00:00 2001 From: Daniel Arndt Date: Thu, 8 Nov 2018 18:03:07 +0100 Subject: [PATCH] Fix init_cuda --- tests/tests.h | 1 - 1 file changed, 1 deletion(-) diff --git a/tests/tests.h b/tests/tests.h index d798e0236e..d4154a83b8 100644 --- a/tests/tests.h +++ b/tests/tests.h @@ -611,7 +611,6 @@ init_cuda(const bool use_mpi = false) # endif const unsigned int my_id = use_mpi ? Utilities::MPI::this_mpi_process(MPI_COMM_WORLD) : 0; - int device_id = 0; int n_devices = 0; cudaError_t cuda_error_code = cudaGetDeviceCount(&n_devices); AssertCuda(cuda_error_code); -- 2.39.5