40 template<
typename TPlatform,
typename TSfinae>
72 return !((*this) == rhs);
77 return m_spDevCpuImpl->getAllExistingQueues();
84 m_spDevCpuImpl->registerQueue(spQueue);
93 std::shared_ptr<cpu::detail::DevCpuImpl> m_spDevCpuImpl;
170 template<
typename TElem,
typename TDim,
typename TIdx>
176 template<
typename TElem,
typename TDim,
typename TIdx>
#define ALPAKA_DEBUG_FULL_LOG_SCOPE
auto operator!=(DevCpu const &rhs) const -> bool
auto getNativeHandle() const noexcept
auto operator==(DevCpu const &) const -> bool
ALPAKA_FN_HOST auto registerQueue(std::shared_ptr< cpu::ICpuQueue > spQueue) const -> void
Registers the given queue on this device. NOTE: Every queue has to be registered for correct function...
ALPAKA_FN_HOST auto getAllQueues() const -> std::vector< std::shared_ptr< cpu::ICpuQueue >>
alpaka::detail::QueueRegistry< cpu::ICpuQueue > DevCpuImpl
The CPU device implementation.
auto getTotalGlobalMemSizeBytes() -> std::size_t
auto getFreeGlobalMemSizeBytes() -> std::size_t
auto getCpuName() -> std::string
IGenericThreadsQueue< DevCpu > ICpuQueue
The CPU queue interface.
The alpaka accelerator library.
QueueGenericThreadsBlocking< DevCpu > QueueCpuBlocking
QueueGenericThreadsNonBlocking< DevCpu > QueueCpuNonBlocking
The CPU/GPU device queue registry implementation.
Tag used in class inheritance hierarchies that describes that a specific interface (TInterface) is im...
The memory buffer type trait.
static ALPAKA_FN_HOST auto getFreeMemBytes(DevCpu const &) -> std::size_t
The device free memory size get trait.
static ALPAKA_FN_HOST auto getMemBytes(DevCpu const &) -> std::size_t
The device memory size get trait.
static ALPAKA_FN_HOST auto getName(DevCpu const &) -> std::string
The device name get trait.
static constexpr ALPAKA_FN_HOST auto getPreferredWarpSize(DevCpu const &) -> std::size_t
The device preferred warp size get trait.
static ALPAKA_FN_HOST auto getWarpSizes(DevCpu const &) -> std::vector< std::size_t >
The device warp size get trait.
static auto getNativeHandle(DevCpu const &dev)
Queue for an accelerator.
static ALPAKA_FN_HOST auto reset(DevCpu const &) -> void