alpaka
Abstraction Library for Parallel Kernel Acceleration
Loading...
Searching...
No Matches
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!
 

Static Public Member Functions

static void setDeviceProperties (alpaka::DevCpu const &, alpaka::DeviceProperties &devProperties)
 

Protected Member Functions

 DevCpu ()
 

Friends

struct trait::GetDevByIdx< PlatformCpu >
 
struct trait::GetFreeMemBytes< DevCpu >
 
struct trait::GetMemBytes< DevCpu >
 
struct trait::GetName< DevCpu >
 
struct trait::GetPreferredWarpSize< DevCpu >
 
struct trait::GetWarpSizes< DevCpu >
 

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.

◆ setDeviceProperties()

static void alpaka::DevCpu::setDeviceProperties ( alpaka::DevCpu const &  ,
alpaka::DeviceProperties devProperties 
)
inlinestatic

Definition at line 92 of file DevCpu.hpp.

Friends And Related Symbol Documentation

◆ trait::GetDevByIdx< PlatformCpu >

friend struct trait::GetDevByIdx< PlatformCpu >
friend

Definition at line 1 of file DevCpu.hpp.

◆ trait::GetFreeMemBytes< DevCpu >

friend struct trait::GetFreeMemBytes< DevCpu >
friend

Definition at line 92 of file DevCpu.hpp.

◆ trait::GetMemBytes< DevCpu >

friend struct trait::GetMemBytes< DevCpu >
friend

Definition at line 92 of file DevCpu.hpp.

◆ trait::GetName< DevCpu >

friend struct trait::GetName< DevCpu >
friend

Definition at line 92 of file DevCpu.hpp.

◆ trait::GetPreferredWarpSize< DevCpu >

friend struct trait::GetPreferredWarpSize< DevCpu >
friend

Definition at line 92 of file DevCpu.hpp.

◆ trait::GetWarpSizes< DevCpu >

friend struct trait::GetWarpSizes< DevCpu >
friend

Definition at line 92 of file DevCpu.hpp.


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