alpaka
Abstraction Library for Parallel Kernel Acceleration
alpaka::DevCpu Class Reference

The CPU device handle. More...

#include <DevCpu.hpp>

+ Inheritance diagram for alpaka::DevCpu:

Public Member Functions

ALPAKA_FN_HOST auto getAllQueues () const -> std::vector< std::shared_ptr< cpu::ICpuQueue >>
 
auto getNativeHandle () const noexcept
 
auto operator!= (DevCpu const &rhs) const -> bool
 
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 functionality of device wait operations! More...
 

Protected Member Functions

 DevCpu ()
 

Friends

struct trait::GetDevByIdx< PlatformCpu >
 

Detailed Description

The CPU device handle.

Definition at line 53 of file DevCpu.hpp.

Constructor & Destructor Documentation

◆ DevCpu()

alpaka::DevCpu::DevCpu ( )
inlineprotected

Definition at line 60 of file DevCpu.hpp.

Member Function Documentation

◆ getAllQueues()

ALPAKA_FN_HOST auto alpaka::DevCpu::getAllQueues ( ) const -> std::vector<std::shared_ptr<cpu::ICpuQueue>>
inline

Definition at line 75 of file DevCpu.hpp.

◆ getNativeHandle()

auto alpaka::DevCpu::getNativeHandle ( ) const
inlinenoexcept

Definition at line 87 of file DevCpu.hpp.

◆ operator!=()

auto alpaka::DevCpu::operator!= ( DevCpu const &  rhs) const -> bool
inline

Definition at line 70 of file DevCpu.hpp.

◆ operator==()

auto alpaka::DevCpu::operator== ( DevCpu const &  ) const -> bool
inline

Definition at line 65 of file DevCpu.hpp.

◆ registerQueue()

ALPAKA_FN_HOST auto alpaka::DevCpu::registerQueue ( std::shared_ptr< cpu::ICpuQueue 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 82 of file DevCpu.hpp.

Friends And Related Function Documentation

◆ trait::GetDevByIdx< PlatformCpu >

friend struct trait::GetDevByIdx< PlatformCpu >
friend

Definition at line 1 of file DevCpu.hpp.


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