10#include "vecmem/vecmem_hip_export.hpp"
73 std::unique_ptr<impl> m_impl;
An allocator class that wraps a memory resource.
Definition allocator.hpp:37
Wrapper class for hipStream_t.
Definition stream_wrapper.hpp:23
VECMEM_HIP_EXPORT stream_wrapper & operator=(const stream_wrapper &rhs)
Copy assignment.
Definition stream_wrapper.cpp:112
VECMEM_HIP_EXPORT stream_wrapper(stream_wrapper &&parent) noexcept
Move constructor.
VECMEM_HIP_EXPORT ~stream_wrapper()
Destructor.
VECMEM_HIP_EXPORT stream_wrapper & operator=(stream_wrapper &&rhs) noexcept
Move assignment.
static constexpr int INVALID_DEVICE
Invalid/default device identifier.
Definition stream_wrapper.hpp:27
VECMEM_HIP_EXPORT void * stream() const
Access a typeless pointer to the managed hipStream_t object.
Definition stream_wrapper.cpp:123
VECMEM_HIP_EXPORT void synchronize()
Wait for all queued tasks from the stream to complete.
Definition stream_wrapper.cpp:128
VECMEM_HIP_EXPORT std::string device_name() const
Get the name of the device that the stream operates on.
Definition stream_wrapper.cpp:134
Namespace holding types that work on/with ROCm/HIP.
Definition hip_device_atomic_ref.hpp:25
Definition stream_wrapper.cpp:73