alpaka
Abstraction Library for Parallel Kernel Acceleration
alpaka::uniform_cuda_hip::detail Namespace Reference

Classes

class  EventUniformCudaHipImpl
 The CUDA/HIP RT device event implementation. More...
 
class  QueueUniformCudaHipRt
 The CUDA/HIP RT queue. More...
 
class  QueueUniformCudaHipRtImpl
 The CUDA/HIP RT queue implementation. More...
 

Functions

template<typename TDim , typename TIdx >
ALPAKA_FN_HOST auto checkVecOnly3Dim (Vec< TDim, TIdx > const &vec) -> void
 
template<typename TDim , typename TIdx >
ALPAKA_FN_HOST auto convertVecToUniformCudaHipDim (Vec< TDim, TIdx > const &vec) -> dim3
 
template<typename TApi , bool TThrow>
ALPAKA_FN_HOST void rtCheck (typename TApi::Error_t const &error, char const *desc, char const *file, int const &line) noexcept(!TThrow)
 CUDA/HIP runtime API error checking with log and exception, ignoring specific error values. More...
 
template<typename TApi , bool TThrow>
ALPAKA_FN_HOST void rtCheckIgnore (typename TApi::Error_t const &error, char const *cmd, char const *file, int const &line, std::initializer_list< typename TApi::Error_t > ignoredErrorCodes) noexcept(!TThrow)
 CUDA/HIP runtime API error checking with log and exception, ignoring specific error values. More...
 
template<typename TApi , bool TThrow>
ALPAKA_FN_HOST void rtCheckLastError (char const *desc, char const *file, int const &line) noexcept(!TThrow)
 CUDA/HIP runtime API last error checking with log and exception. More...
 

Function Documentation

◆ checkVecOnly3Dim()

template<typename TDim , typename TIdx >
ALPAKA_FN_HOST auto alpaka::uniform_cuda_hip::detail::checkVecOnly3Dim ( Vec< TDim, TIdx > const &  vec) -> void

Definition at line 91 of file TaskKernelGpuUniformCudaHipRt.hpp.

◆ convertVecToUniformCudaHipDim()

template<typename TDim , typename TIdx >
ALPAKA_FN_HOST auto alpaka::uniform_cuda_hip::detail::convertVecToUniformCudaHipDim ( Vec< TDim, TIdx > const &  vec) -> dim3

Definition at line 108 of file TaskKernelGpuUniformCudaHipRt.hpp.

◆ rtCheck()

template<typename TApi , bool TThrow>
ALPAKA_FN_HOST void alpaka::uniform_cuda_hip::detail::rtCheck ( typename TApi::Error_t const &  error,
char const *  desc,
char const *  file,
int const &  line 
)
inlinenoexcept

CUDA/HIP runtime API error checking with log and exception, ignoring specific error values.

Definition at line 24 of file UniformCudaHip.hpp.

◆ rtCheckIgnore()

template<typename TApi , bool TThrow>
ALPAKA_FN_HOST void alpaka::uniform_cuda_hip::detail::rtCheckIgnore ( typename TApi::Error_t const &  error,
char const *  cmd,
char const *  file,
int const &  line,
std::initializer_list< typename TApi::Error_t >  ignoredErrorCodes 
)
inlinenoexcept

CUDA/HIP runtime API error checking with log and exception, ignoring specific error values.

Definition at line 51 of file UniformCudaHip.hpp.

◆ rtCheckLastError()

template<typename TApi , bool TThrow>
ALPAKA_FN_HOST void alpaka::uniform_cuda_hip::detail::rtCheckLastError ( char const *  desc,
char const *  file,
int const &  line 
)
inlinenoexcept

CUDA/HIP runtime API last error checking with log and exception.

Definition at line 77 of file UniformCudaHip.hpp.