alpaka
Abstraction Library for Parallel Kernel Acceleration
Loading...
Searching...
No Matches
alpaka::detail::DevGenericImpl< TQueue > Struct Template Reference

The CPU/GPU device queue registry implementation. More...

#include <DevGenericImpl.hpp>

Public Member Functions

template<typename TDev >
auto deviceProperties (TDev const &device) -> std::optional< alpaka::DeviceProperties > &
 
ALPAKA_FN_HOST auto getAllExistingQueues () const -> std::vector< std::shared_ptr< TQueue > >
 
ALPAKA_FN_HOST auto registerQueue (std::shared_ptr< TQueue > const &spQueue) const -> void
 Registers the given queue on this device. NOTE: Every queue has to be registered for correct functionality of device wait operations!
 

Detailed Description

template<typename TQueue>
struct alpaka::detail::DevGenericImpl< TQueue >

The CPU/GPU device queue registry implementation.

Template Parameters
TQueuequeue implementation

Definition at line 23 of file DevGenericImpl.hpp.

Member Function Documentation

◆ deviceProperties()

template<typename TQueue >
template<typename TDev >
auto alpaka::detail::DevGenericImpl< TQueue >::deviceProperties ( TDev const &  device) -> std::optional<alpaka::DeviceProperties>&
inline

Definition at line 59 of file DevGenericImpl.hpp.

◆ getAllExistingQueues()

template<typename TQueue >
ALPAKA_FN_HOST auto alpaka::detail::DevGenericImpl< TQueue >::getAllExistingQueues ( ) const -> std::vector<std::shared_ptr<TQueue>>
inline

Definition at line 25 of file DevGenericImpl.hpp.

◆ registerQueue()

template<typename TQueue >
ALPAKA_FN_HOST auto alpaka::detail::DevGenericImpl< TQueue >::registerQueue ( std::shared_ptr< TQueue > const &  spQueue) const -> void
inline

Registers the given queue on this device. NOTE: Every queue has to be registered for correct functionality of device wait operations!

Definition at line 50 of file DevGenericImpl.hpp.


The documentation for this struct was generated from the following file: