From 4eb0b394e9999382fb355c055da44bc45087475e Mon Sep 17 00:00:00 2001 From: Gregor Daiss Date: Wed, 28 Jun 2023 23:17:03 -0500 Subject: [PATCH] Fix format (again) --- libs/core/async_cuda/include/hpx/async_cuda/cuda_event.hpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/libs/core/async_cuda/include/hpx/async_cuda/cuda_event.hpp b/libs/core/async_cuda/include/hpx/async_cuda/cuda_event.hpp index 5a13a911c857..727379a1db09 100644 --- a/libs/core/async_cuda/include/hpx/async_cuda/cuda_event.hpp +++ b/libs/core/async_cuda/include/hpx/async_cuda/cuda_event.hpp @@ -60,9 +60,9 @@ namespace hpx { namespace cuda { namespace experimental { if (original_device != device) check_cuda_error(cudaSetDevice(device)); add_event_to_pool(device); - // reset to original device if required + // reset to original device if required if (original_device != device) - check_cuda_error(cudaSetDevice(original_device)); + check_cuda_error(cudaSetDevice(original_device)); } return true; }