hpx/async_cuda/cuda_event.hpp

See Public API for a list of names and headers that are part of the public HPX API.

namespace hpx
namespace cuda
namespace experimental
struct cuda_event_pool

Public Functions

cuda_event_pool()
~cuda_event_pool()
bool pop(cudaEvent_t &event)
bool push(cudaEvent_t event)

Public Static Functions

static cuda_event_pool &get_event_pool()

Public Static Attributes

constexpr int initial_events_in_pool = 128

Private Functions

void add_event_to_pool()

Private Members

boost::lockfree::stack<cudaEvent_t, boost::lockfree::fixed_sized<false>> free_list_