Skip to content

Commit

Permalink
Fix format (again)
Browse files Browse the repository at this point in the history
  • Loading branch information
G-071 committed Jun 29, 2023
1 parent 46b477a commit 4eb0b39
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions libs/core/async_cuda/include/hpx/async_cuda/cuda_event.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
Expand Down

0 comments on commit 4eb0b39

Please sign in to comment.