async_cuda¶
The contents of this module can be included with the header
hpx/modules/async_cuda.hpp
. These headers may be used by user-code but are not
guaranteed stable (neither header location nor contents). You are using these at
your own risk. If you wish to use non-public functionality from a module we
strongly suggest only including the module header hpx/modules/async_cuda.hpp
, not
the particular header in which the functionality you would like to use is
defined. See Public API for a list of names 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
()¶
-
-
struct
-
namespace
-
namespace
-
namespace
hpx
-
namespace
hpx
-
namespace
cuda
-
namespace
experimental
-
struct
cuda_executor
: public hpx::cuda::experimental::cuda_executor_base¶ Public Functions
-
~cuda_executor
()¶
-
-
struct
cuda_executor_base
¶ Subclassed by hpx::cuda::experimental::cuda_executor
-
struct
-
namespace
-
namespace
-
namespace
hpx
-
namespace
cuda
-
namespace
experimental
-
namespace
-
namespace
-
namespace
hpx
-
namespace
cuda
-
namespace
experimental
-
struct
enable_user_polling
¶
-
struct
-
namespace
-
namespace
-
namespace
hpx
-
namespace
cuda
-
namespace
experimental
-
namespace
-
namespace
-
namespace
hpx
-
-
namespace
cuda
-
namespace
experimental
-
-
struct
target
¶ Public Functions
-
target
()¶
-
target
(int device)¶
-
native_handle_type &
native_handle
()¶
-
native_handle_type const &
native_handle
() const¶
-
void
synchronize
() const¶
Private Members
-
native_handle_type
handle_
¶
Friends
-
bool
operator==
(target const &lhs, target const &rhs)¶
-
struct
native_handle_type
¶ -
Public Functions
-
native_handle_type
(int device = 0)¶
-
~native_handle_type
()¶
-
native_handle_type
(native_handle_type const &rhs)¶
-
native_handle_type
(native_handle_type &&rhs)¶
-
native_handle_type &
operator=
(native_handle_type const &rhs)¶
-
native_handle_type &
operator=
(native_handle_type &&rhs)¶
-
cudaStream_t
get_stream
() const¶
-
int
get_device
() const¶
-
void
reset
()¶
Private Functions
-
void
init_processing_units
()¶
Friends
-
friend
hpx::cuda::experimental::target
-
-
-
struct
-
namespace
-
namespace