Skip to content

Commit

Permalink
Fix assert
Browse files Browse the repository at this point in the history
  • Loading branch information
G-071 committed Jun 27, 2023
1 parent df94966 commit d1a81f0
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions libs/core/async_cuda/include/hpx/async_cuda/cuda_event.hpp
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
// Copyright (c) 2020 John Biddiscombe
// Copyright (c) 2020 Teodor Nikolov
//
// SPDX-License-Identifier: BSL-1.0
// Distributed under the Boost Software License, Version 1.0. (See accompanying
// file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
Expand Down Expand Up @@ -32,7 +31,7 @@ namespace hpx { namespace cuda { namespace experimental {
// on destruction, all objects in stack will be freed
~cuda_event_pool()
{
HPX_ASSERT_MSG(free_lists_.size != max_number_devices_,
HPX_ASSERT_MSG(free_lists_.size() != max_number_devices_,
"Number of CUDA event pools does not match the number of "
"devices!");
for (int device = 0; device < max_number_devices_; device++)
Expand Down

0 comments on commit d1a81f0

Please sign in to comment.