alpaka
Abstraction Library for Parallel Kernel Acceleration
alpaka::DevUniformCudaHipRt< TApi > Class Template Reference

The CUDA/HIP RT device handle. More...

#include <DevUniformCudaHipRt.hpp>

+ Inheritance diagram for alpaka::DevUniformCudaHipRt< TApi >:

Public Member Functions

ALPAKA_FN_HOST auto getAllQueues () const -> std::vector< std::shared_ptr< IDeviceQueue >>
 
auto getNativeHandle () const noexcept -> int
 
ALPAKA_FN_HOST auto operator!= (DevUniformCudaHipRt const &rhs) const -> bool
 
ALPAKA_FN_HOST auto operator== (DevUniformCudaHipRt const &rhs) const -> bool
 
ALPAKA_FN_HOST auto registerQueue (std::shared_ptr< IDeviceQueue > 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

 DevUniformCudaHipRt ()
 

Friends

struct trait::GetDevByIdx< PlatformUniformCudaHipRt< TApi > >
 

Detailed Description

template<typename TApi>
class alpaka::DevUniformCudaHipRt< TApi >

The CUDA/HIP RT device handle.

Definition at line 56 of file DevUniformCudaHipRt.hpp.

Constructor & Destructor Documentation

◆ DevUniformCudaHipRt()

template<typename TApi >
alpaka::DevUniformCudaHipRt< TApi >::DevUniformCudaHipRt ( )
inlineprotected

Definition at line 65 of file DevUniformCudaHipRt.hpp.

Member Function Documentation

◆ getAllQueues()

template<typename TApi >
ALPAKA_FN_HOST auto alpaka::DevUniformCudaHipRt< TApi >::getAllQueues ( ) const -> std::vector<std::shared_ptr<IDeviceQueue>>
inline

Definition at line 85 of file DevUniformCudaHipRt.hpp.

◆ getNativeHandle()

template<typename TApi >
auto alpaka::DevUniformCudaHipRt< TApi >::getNativeHandle ( ) const -> int
inlinenoexcept

Definition at line 80 of file DevUniformCudaHipRt.hpp.

◆ operator!=()

template<typename TApi >
ALPAKA_FN_HOST auto alpaka::DevUniformCudaHipRt< TApi >::operator!= ( DevUniformCudaHipRt< TApi > const &  rhs) const -> bool
inline

Definition at line 75 of file DevUniformCudaHipRt.hpp.

◆ operator==()

template<typename TApi >
ALPAKA_FN_HOST auto alpaka::DevUniformCudaHipRt< TApi >::operator== ( DevUniformCudaHipRt< TApi > const &  rhs) const -> bool
inline

Definition at line 70 of file DevUniformCudaHipRt.hpp.

◆ registerQueue()

template<typename TApi >
ALPAKA_FN_HOST auto alpaka::DevUniformCudaHipRt< TApi >::registerQueue ( std::shared_ptr< IDeviceQueue 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 92 of file DevUniformCudaHipRt.hpp.

Friends And Related Function Documentation

◆ trait::GetDevByIdx< PlatformUniformCudaHipRt< TApi > >

template<typename TApi >
friend struct trait::GetDevByIdx< PlatformUniformCudaHipRt< TApi > >
friend

Definition at line 1 of file DevUniformCudaHipRt.hpp.


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