alpaka
Abstraction Library for Parallel Kernel Acceleration
Cuda.hpp File Reference
#include "alpaka/core/CudaHipCommon.hpp"
#include <iostream>
#include <stdexcept>
#include <string>
#include "alpaka/core/UniformCudaHip.hpp"

Go to the source code of this file.

Namespaces

 alpaka
 The alpaka accelerator library.
 
 alpaka::cuda
 
 alpaka::cuda::detail
 

Macros

#define ALPAKA_CUDA_DRV_CHECK(cmd)   ::alpaka::cuda::detail::cudaDrvCheck(cmd, #cmd, __FILE__, __LINE__)
 CUDA driver error checking with log and exception. More...
 

Functions

ALPAKA_FN_HOST auto alpaka::cuda::detail::cudaDrvCheck (CUresult const &error, char const *desc, char const *file, int const &line) -> void
 CUDA driver API error checking with log and exception, ignoring specific error values. More...
 

Macro Definition Documentation

◆ ALPAKA_CUDA_DRV_CHECK

#define ALPAKA_CUDA_DRV_CHECK (   cmd)    ::alpaka::cuda::detail::cudaDrvCheck(cmd, #cmd, __FILE__, __LINE__)

CUDA driver error checking with log and exception.

Definition at line 54 of file Cuda.hpp.