alpaka
Abstraction Library for Parallel Kernel Acceleration
alpaka::ApiCudaRt Struct Reference

#include <ApiCudaRt.hpp>

Classes

struct  HostFnAdaptor
 

Public Types

using DeviceAttr_t = ::cudaDeviceAttr
 
using DeviceProp_t = ::cudaDeviceProp
 
using Error_t = ::cudaError_t
 
using Event_t = ::cudaEvent_t
 
using Extent_t = ::cudaExtent
 
using Flag_t = unsigned int
 
using FuncAttributes_t = ::cudaFuncAttributes
 
using HostFn_t = void(*)(void *data)
 
using Limit_t = ::cudaLimit
 
using Memcpy3DParms_t = ::cudaMemcpy3DParms
 
using MemcpyKind_t = ::cudaMemcpyKind
 
using PitchedPtr_t = ::cudaPitchedPtr
 
using Pos_t = ::cudaPos
 
using Stream_t = ::cudaStream_t
 

Static Public Member Functions

static Error_t deviceGetAttribute (int *value, DeviceAttr_t attr, int device)
 
static Error_t deviceGetLimit (size_t *pValue, Limit_t limit)
 
static Error_t deviceReset ()
 
static Error_t deviceSetLimit (Limit_t limit, size_t value)
 
static Error_t deviceSynchronize ()
 
static Error_t eventCreate (Event_t *event)
 
static Error_t eventCreateWithFlags (Event_t *event, Flag_t flags)
 
static Error_t eventDestroy (Event_t event)
 
static Error_t eventQuery (Event_t event)
 
static Error_t eventRecord (Event_t event, Stream_t stream)
 
static Error_t eventSynchronize (Event_t event)
 
static Error_t free (void *devPtr)
 
static Error_t freeAsync ([[maybe_unused]] void *devPtr, [[maybe_unused]] Stream_t stream)
 
template<typename T >
static Error_t funcGetAttributes (FuncAttributes_t *attr, T *func)
 
static Error_t funcGetAttributes (FuncAttributes_t *attr, void const *func)
 
static Error_t getDeviceCount (int *count)
 
static Error_t getDeviceProperties (DeviceProp_t *prop, int device)
 
static char const * getErrorName (Error_t error)
 
static char const * getErrorString (Error_t error)
 
static Error_t getLastError ()
 
template<class T >
static Error_t getSymbolAddress (void **devPtr, T const &symbol)
 
static Error_t getSymbolAddress (void **devPtr, void const *symbol)
 
static Error_t hostFree (void *ptr)
 
static Error_t hostGetDevicePointer (void **pDevice, void *pHost, Flag_t flags)
 
static Error_t hostMalloc (void **ptr, size_t size, Flag_t flags)
 
static Error_t hostRegister (void *ptr, size_t size, Flag_t flags)
 
static Error_t hostUnregister (void *ptr)
 
static Error_t launchHostFunc (Stream_t stream, HostFn_t fn, void *userData)
 
static Extent_t makeExtent (size_t w, size_t h, size_t d)
 
static PitchedPtr_t makePitchedPtr (void *d, size_t p, size_t xsz, size_t ysz)
 
static Pos_t makePos (size_t x, size_t y, size_t z)
 
static Error_t malloc (void **devPtr, size_t size)
 
static Error_t malloc3D (PitchedPtr_t *pitchedDevPtr, Extent_t extent)
 
static Error_t mallocAsync ([[maybe_unused]] void **devPtr, [[maybe_unused]] size_t size, [[maybe_unused]] Stream_t stream)
 
static Error_t mallocPitch (void **devPtr, size_t *pitch, size_t width, size_t height)
 
static Error_t memcpy (void *dst, void const *src, size_t count, MemcpyKind_t kind)
 
static Error_t memcpy2DAsync (void *dst, size_t dpitch, void const *src, size_t spitch, size_t width, size_t height, MemcpyKind_t kind, Stream_t stream)
 
static Error_t memcpy3DAsync (Memcpy3DParms_t const *p, Stream_t stream)
 
static Error_t memcpyAsync (void *dst, void const *src, size_t count, MemcpyKind_t kind, Stream_t stream)
 
static Error_t memGetInfo (size_t *free, size_t *total)
 
static Error_t memset2DAsync (void *devPtr, size_t pitch, int value, size_t width, size_t height, Stream_t stream)
 
static Error_t memset3DAsync (PitchedPtr_t pitchedDevPtr, int value, Extent_t extent, Stream_t stream)
 
static Error_t memsetAsync (void *devPtr, int value, size_t count, Stream_t stream)
 
static Error_t setDevice (int device)
 
static Error_t streamCreate (Stream_t *pStream)
 
static Error_t streamCreateWithFlags (Stream_t *pStream, Flag_t flags)
 
static Error_t streamDestroy (Stream_t stream)
 
static Error_t streamQuery (Stream_t stream)
 
static Error_t streamSynchronize (Stream_t stream)
 
static Error_t streamWaitEvent (Stream_t stream, Event_t event, Flag_t flags)
 

Static Public Attributes

static constexpr DeviceAttr_t deviceAttributeMaxBlockDimX = ::cudaDevAttrMaxBlockDimX
 
static constexpr DeviceAttr_t deviceAttributeMaxBlockDimY = ::cudaDevAttrMaxBlockDimY
 
static constexpr DeviceAttr_t deviceAttributeMaxBlockDimZ = ::cudaDevAttrMaxBlockDimZ
 
static constexpr DeviceAttr_t deviceAttributeMaxGridDimX = ::cudaDevAttrMaxGridDimX
 
static constexpr DeviceAttr_t deviceAttributeMaxGridDimY = ::cudaDevAttrMaxGridDimY
 
static constexpr DeviceAttr_t deviceAttributeMaxGridDimZ = ::cudaDevAttrMaxGridDimZ
 
static constexpr DeviceAttr_t deviceAttributeMaxSharedMemoryPerBlock = ::cudaDevAttrMaxSharedMemoryPerBlock
 
static constexpr DeviceAttr_t deviceAttributeMaxThreadsPerBlock = ::cudaDevAttrMaxThreadsPerBlock
 
static constexpr DeviceAttr_t deviceAttributeMultiprocessorCount = ::cudaDevAttrMultiProcessorCount
 
static constexpr DeviceAttr_t deviceAttributeWarpSize = ::cudaDevAttrWarpSize
 
static constexpr Error_t errorHostMemoryAlreadyRegistered = ::cudaErrorHostMemoryAlreadyRegistered
 
static constexpr Error_t errorHostMemoryNotRegistered = ::cudaErrorHostMemoryNotRegistered
 
static constexpr Error_t errorNotReady = ::cudaErrorNotReady
 
static constexpr Error_t errorUnknown = ::cudaErrorUnknown
 
static constexpr Error_t errorUnsupportedLimit = ::cudaErrorUnsupportedLimit
 
static constexpr Flag_t eventBlockingSync = cudaEventBlockingSync
 
static constexpr Flag_t eventDefault = cudaEventDefault
 
static constexpr Flag_t eventDisableTiming = cudaEventDisableTiming
 
static constexpr Flag_t eventInterprocess = cudaEventInterprocess
 
static constexpr Flag_t hostMallocCoherent = cudaHostAllocDefault
 
static constexpr Flag_t hostMallocDefault = cudaHostAllocDefault
 
static constexpr Flag_t hostMallocMapped = cudaHostAllocMapped
 
static constexpr Flag_t hostMallocNonCoherent = cudaHostAllocDefault
 
static constexpr Flag_t hostMallocPortable = cudaHostAllocPortable
 
static constexpr Flag_t hostMallocWriteCombined = cudaHostAllocWriteCombined
 
static constexpr Flag_t hostRegisterDefault = cudaHostRegisterDefault
 
static constexpr Flag_t hostRegisterIoMemory = cudaHostRegisterIoMemory
 
static constexpr Flag_t hostRegisterMapped = cudaHostRegisterMapped
 
static constexpr Flag_t hostRegisterPortable = cudaHostRegisterPortable
 
static constexpr Limit_t limitMallocHeapSize = ::cudaLimitMallocHeapSize
 
static constexpr Limit_t limitPrintfFifoSize = ::cudaLimitPrintfFifoSize
 
static constexpr MemcpyKind_t memcpyDefault = ::cudaMemcpyDefault
 
static constexpr MemcpyKind_t memcpyDeviceToDevice = ::cudaMemcpyDeviceToDevice
 
static constexpr MemcpyKind_t memcpyDeviceToHost = ::cudaMemcpyDeviceToHost
 
static constexpr MemcpyKind_t memcpyHostToDevice = ::cudaMemcpyHostToDevice
 
static constexpr char name [] = "Cuda"
 
static constexpr Flag_t streamDefault = cudaStreamDefault
 
static constexpr Flag_t streamNonBlocking = cudaStreamNonBlocking
 
static constexpr Error_t success = ::cudaSuccess
 
static constexpr auto version = BOOST_PREDEF_MAKE_10_VVRRP(CUDART_VERSION)
 

Detailed Description

Definition at line 14 of file ApiCudaRt.hpp.

Member Typedef Documentation

◆ DeviceAttr_t

using alpaka::ApiCudaRt::DeviceAttr_t = ::cudaDeviceAttr

Definition at line 21 of file ApiCudaRt.hpp.

◆ DeviceProp_t

using alpaka::ApiCudaRt::DeviceProp_t = ::cudaDeviceProp

Definition at line 22 of file ApiCudaRt.hpp.

◆ Error_t

using alpaka::ApiCudaRt::Error_t = ::cudaError_t

Definition at line 23 of file ApiCudaRt.hpp.

◆ Event_t

using alpaka::ApiCudaRt::Event_t = ::cudaEvent_t

Definition at line 24 of file ApiCudaRt.hpp.

◆ Extent_t

using alpaka::ApiCudaRt::Extent_t = ::cudaExtent

Definition at line 25 of file ApiCudaRt.hpp.

◆ Flag_t

using alpaka::ApiCudaRt::Flag_t = unsigned int

Definition at line 26 of file ApiCudaRt.hpp.

◆ FuncAttributes_t

using alpaka::ApiCudaRt::FuncAttributes_t = ::cudaFuncAttributes

Definition at line 27 of file ApiCudaRt.hpp.

◆ HostFn_t

using alpaka::ApiCudaRt::HostFn_t = void (*)(void* data)

Definition at line 28 of file ApiCudaRt.hpp.

◆ Limit_t

using alpaka::ApiCudaRt::Limit_t = ::cudaLimit

Definition at line 29 of file ApiCudaRt.hpp.

◆ Memcpy3DParms_t

using alpaka::ApiCudaRt::Memcpy3DParms_t = ::cudaMemcpy3DParms

Definition at line 30 of file ApiCudaRt.hpp.

◆ MemcpyKind_t

using alpaka::ApiCudaRt::MemcpyKind_t = ::cudaMemcpyKind

Definition at line 31 of file ApiCudaRt.hpp.

◆ PitchedPtr_t

using alpaka::ApiCudaRt::PitchedPtr_t = ::cudaPitchedPtr

Definition at line 32 of file ApiCudaRt.hpp.

◆ Pos_t

using alpaka::ApiCudaRt::Pos_t = ::cudaPos

Definition at line 33 of file ApiCudaRt.hpp.

◆ Stream_t

using alpaka::ApiCudaRt::Stream_t = ::cudaStream_t

Definition at line 34 of file ApiCudaRt.hpp.

Member Function Documentation

◆ deviceGetAttribute()

static Error_t alpaka::ApiCudaRt::deviceGetAttribute ( int *  value,
DeviceAttr_t  attr,
int  device 
)
inlinestatic

Definition at line 107 of file ApiCudaRt.hpp.

◆ deviceGetLimit()

static Error_t alpaka::ApiCudaRt::deviceGetLimit ( size_t *  pValue,
Limit_t  limit 
)
inlinestatic

Definition at line 112 of file ApiCudaRt.hpp.

◆ deviceReset()

static Error_t alpaka::ApiCudaRt::deviceReset ( )
inlinestatic

Definition at line 117 of file ApiCudaRt.hpp.

◆ deviceSetLimit()

static Error_t alpaka::ApiCudaRt::deviceSetLimit ( Limit_t  limit,
size_t  value 
)
inlinestatic

Definition at line 122 of file ApiCudaRt.hpp.

◆ deviceSynchronize()

static Error_t alpaka::ApiCudaRt::deviceSynchronize ( )
inlinestatic

Definition at line 127 of file ApiCudaRt.hpp.

◆ eventCreate()

static Error_t alpaka::ApiCudaRt::eventCreate ( Event_t event)
inlinestatic

Definition at line 132 of file ApiCudaRt.hpp.

◆ eventCreateWithFlags()

static Error_t alpaka::ApiCudaRt::eventCreateWithFlags ( Event_t event,
Flag_t  flags 
)
inlinestatic

Definition at line 137 of file ApiCudaRt.hpp.

◆ eventDestroy()

static Error_t alpaka::ApiCudaRt::eventDestroy ( Event_t  event)
inlinestatic

Definition at line 142 of file ApiCudaRt.hpp.

◆ eventQuery()

static Error_t alpaka::ApiCudaRt::eventQuery ( Event_t  event)
inlinestatic

Definition at line 147 of file ApiCudaRt.hpp.

◆ eventRecord()

static Error_t alpaka::ApiCudaRt::eventRecord ( Event_t  event,
Stream_t  stream 
)
inlinestatic

Definition at line 152 of file ApiCudaRt.hpp.

◆ eventSynchronize()

static Error_t alpaka::ApiCudaRt::eventSynchronize ( Event_t  event)
inlinestatic

Definition at line 157 of file ApiCudaRt.hpp.

◆ free()

static Error_t alpaka::ApiCudaRt::free ( void *  devPtr)
inlinestatic

Definition at line 162 of file ApiCudaRt.hpp.

◆ freeAsync()

static Error_t alpaka::ApiCudaRt::freeAsync ( [[maybe_unused] ] void *  devPtr,
[[maybe_unused] ] Stream_t  stream 
)
inlinestatic

Definition at line 167 of file ApiCudaRt.hpp.

◆ funcGetAttributes() [1/2]

template<typename T >
static Error_t alpaka::ApiCudaRt::funcGetAttributes ( FuncAttributes_t attr,
T *  func 
)
inlinestatic

Definition at line 183 of file ApiCudaRt.hpp.

◆ funcGetAttributes() [2/2]

static Error_t alpaka::ApiCudaRt::funcGetAttributes ( FuncAttributes_t attr,
void const *  func 
)
inlinestatic

Definition at line 177 of file ApiCudaRt.hpp.

◆ getDeviceCount()

static Error_t alpaka::ApiCudaRt::getDeviceCount ( int *  count)
inlinestatic

Definition at line 195 of file ApiCudaRt.hpp.

◆ getDeviceProperties()

static Error_t alpaka::ApiCudaRt::getDeviceProperties ( DeviceProp_t prop,
int  device 
)
inlinestatic

Definition at line 200 of file ApiCudaRt.hpp.

◆ getErrorName()

static char const* alpaka::ApiCudaRt::getErrorName ( Error_t  error)
inlinestatic

Definition at line 205 of file ApiCudaRt.hpp.

◆ getErrorString()

static char const* alpaka::ApiCudaRt::getErrorString ( Error_t  error)
inlinestatic

Definition at line 210 of file ApiCudaRt.hpp.

◆ getLastError()

static Error_t alpaka::ApiCudaRt::getLastError ( )
inlinestatic

Definition at line 215 of file ApiCudaRt.hpp.

◆ getSymbolAddress() [1/2]

template<class T >
static Error_t alpaka::ApiCudaRt::getSymbolAddress ( void **  devPtr,
T const &  symbol 
)
inlinestatic

Definition at line 226 of file ApiCudaRt.hpp.

◆ getSymbolAddress() [2/2]

static Error_t alpaka::ApiCudaRt::getSymbolAddress ( void **  devPtr,
void const *  symbol 
)
inlinestatic

Definition at line 220 of file ApiCudaRt.hpp.

◆ hostFree()

static Error_t alpaka::ApiCudaRt::hostFree ( void *  ptr)
inlinestatic

Definition at line 236 of file ApiCudaRt.hpp.

◆ hostGetDevicePointer()

static Error_t alpaka::ApiCudaRt::hostGetDevicePointer ( void **  pDevice,
void *  pHost,
Flag_t  flags 
)
inlinestatic

Definition at line 231 of file ApiCudaRt.hpp.

◆ hostMalloc()

static Error_t alpaka::ApiCudaRt::hostMalloc ( void **  ptr,
size_t  size,
Flag_t  flags 
)
inlinestatic

Definition at line 241 of file ApiCudaRt.hpp.

◆ hostRegister()

static Error_t alpaka::ApiCudaRt::hostRegister ( void *  ptr,
size_t  size,
Flag_t  flags 
)
inlinestatic

Definition at line 246 of file ApiCudaRt.hpp.

◆ hostUnregister()

static Error_t alpaka::ApiCudaRt::hostUnregister ( void *  ptr)
inlinestatic

Definition at line 251 of file ApiCudaRt.hpp.

◆ launchHostFunc()

static Error_t alpaka::ApiCudaRt::launchHostFunc ( Stream_t  stream,
HostFn_t  fn,
void *  userData 
)
inlinestatic

Definition at line 256 of file ApiCudaRt.hpp.

◆ makeExtent()

static Extent_t alpaka::ApiCudaRt::makeExtent ( size_t  w,
size_t  h,
size_t  d 
)
inlinestatic

Definition at line 394 of file ApiCudaRt.hpp.

◆ makePitchedPtr()

static PitchedPtr_t alpaka::ApiCudaRt::makePitchedPtr ( void *  d,
size_t  p,
size_t  xsz,
size_t  ysz 
)
inlinestatic

Definition at line 384 of file ApiCudaRt.hpp.

◆ makePos()

static Pos_t alpaka::ApiCudaRt::makePos ( size_t  x,
size_t  y,
size_t  z 
)
inlinestatic

Definition at line 389 of file ApiCudaRt.hpp.

◆ malloc()

static Error_t alpaka::ApiCudaRt::malloc ( void **  devPtr,
size_t  size 
)
inlinestatic

Definition at line 267 of file ApiCudaRt.hpp.

◆ malloc3D()

static Error_t alpaka::ApiCudaRt::malloc3D ( PitchedPtr_t pitchedDevPtr,
Extent_t  extent 
)
inlinestatic

Definition at line 272 of file ApiCudaRt.hpp.

◆ mallocAsync()

static Error_t alpaka::ApiCudaRt::mallocAsync ( [[maybe_unused] ] void **  devPtr,
[[maybe_unused] ] size_t  size,
[[maybe_unused] ] Stream_t  stream 
)
inlinestatic

Definition at line 277 of file ApiCudaRt.hpp.

◆ mallocPitch()

static Error_t alpaka::ApiCudaRt::mallocPitch ( void **  devPtr,
size_t *  pitch,
size_t  width,
size_t  height 
)
inlinestatic

Definition at line 290 of file ApiCudaRt.hpp.

◆ memcpy()

static Error_t alpaka::ApiCudaRt::memcpy ( void *  dst,
void const *  src,
size_t  count,
MemcpyKind_t  kind 
)
inlinestatic

Definition at line 300 of file ApiCudaRt.hpp.

◆ memcpy2DAsync()

static Error_t alpaka::ApiCudaRt::memcpy2DAsync ( void *  dst,
size_t  dpitch,
void const *  src,
size_t  spitch,
size_t  width,
size_t  height,
MemcpyKind_t  kind,
Stream_t  stream 
)
inlinestatic

Definition at line 305 of file ApiCudaRt.hpp.

◆ memcpy3DAsync()

static Error_t alpaka::ApiCudaRt::memcpy3DAsync ( Memcpy3DParms_t const *  p,
Stream_t  stream 
)
inlinestatic

Definition at line 318 of file ApiCudaRt.hpp.

◆ memcpyAsync()

static Error_t alpaka::ApiCudaRt::memcpyAsync ( void *  dst,
void const *  src,
size_t  count,
MemcpyKind_t  kind,
Stream_t  stream 
)
inlinestatic

Definition at line 323 of file ApiCudaRt.hpp.

◆ memGetInfo()

static Error_t alpaka::ApiCudaRt::memGetInfo ( size_t *  free,
size_t *  total 
)
inlinestatic

Definition at line 295 of file ApiCudaRt.hpp.

◆ memset2DAsync()

static Error_t alpaka::ApiCudaRt::memset2DAsync ( void *  devPtr,
size_t  pitch,
int  value,
size_t  width,
size_t  height,
Stream_t  stream 
)
inlinestatic

Definition at line 328 of file ApiCudaRt.hpp.

◆ memset3DAsync()

static Error_t alpaka::ApiCudaRt::memset3DAsync ( PitchedPtr_t  pitchedDevPtr,
int  value,
Extent_t  extent,
Stream_t  stream 
)
inlinestatic

Definition at line 339 of file ApiCudaRt.hpp.

◆ memsetAsync()

static Error_t alpaka::ApiCudaRt::memsetAsync ( void *  devPtr,
int  value,
size_t  count,
Stream_t  stream 
)
inlinestatic

Definition at line 344 of file ApiCudaRt.hpp.

◆ setDevice()

static Error_t alpaka::ApiCudaRt::setDevice ( int  device)
inlinestatic

Definition at line 349 of file ApiCudaRt.hpp.

◆ streamCreate()

static Error_t alpaka::ApiCudaRt::streamCreate ( Stream_t pStream)
inlinestatic

Definition at line 354 of file ApiCudaRt.hpp.

◆ streamCreateWithFlags()

static Error_t alpaka::ApiCudaRt::streamCreateWithFlags ( Stream_t pStream,
Flag_t  flags 
)
inlinestatic

Definition at line 359 of file ApiCudaRt.hpp.

◆ streamDestroy()

static Error_t alpaka::ApiCudaRt::streamDestroy ( Stream_t  stream)
inlinestatic

Definition at line 364 of file ApiCudaRt.hpp.

◆ streamQuery()

static Error_t alpaka::ApiCudaRt::streamQuery ( Stream_t  stream)
inlinestatic

Definition at line 369 of file ApiCudaRt.hpp.

◆ streamSynchronize()

static Error_t alpaka::ApiCudaRt::streamSynchronize ( Stream_t  stream)
inlinestatic

Definition at line 374 of file ApiCudaRt.hpp.

◆ streamWaitEvent()

static Error_t alpaka::ApiCudaRt::streamWaitEvent ( Stream_t  stream,
Event_t  event,
Flag_t  flags 
)
inlinestatic

Definition at line 379 of file ApiCudaRt.hpp.

Member Data Documentation

◆ deviceAttributeMaxBlockDimX

constexpr DeviceAttr_t alpaka::ApiCudaRt::deviceAttributeMaxBlockDimX = ::cudaDevAttrMaxBlockDimX
staticconstexpr

Definition at line 69 of file ApiCudaRt.hpp.

◆ deviceAttributeMaxBlockDimY

constexpr DeviceAttr_t alpaka::ApiCudaRt::deviceAttributeMaxBlockDimY = ::cudaDevAttrMaxBlockDimY
staticconstexpr

Definition at line 70 of file ApiCudaRt.hpp.

◆ deviceAttributeMaxBlockDimZ

constexpr DeviceAttr_t alpaka::ApiCudaRt::deviceAttributeMaxBlockDimZ = ::cudaDevAttrMaxBlockDimZ
staticconstexpr

Definition at line 71 of file ApiCudaRt.hpp.

◆ deviceAttributeMaxGridDimX

constexpr DeviceAttr_t alpaka::ApiCudaRt::deviceAttributeMaxGridDimX = ::cudaDevAttrMaxGridDimX
staticconstexpr

Definition at line 72 of file ApiCudaRt.hpp.

◆ deviceAttributeMaxGridDimY

constexpr DeviceAttr_t alpaka::ApiCudaRt::deviceAttributeMaxGridDimY = ::cudaDevAttrMaxGridDimY
staticconstexpr

Definition at line 73 of file ApiCudaRt.hpp.

◆ deviceAttributeMaxGridDimZ

constexpr DeviceAttr_t alpaka::ApiCudaRt::deviceAttributeMaxGridDimZ = ::cudaDevAttrMaxGridDimZ
staticconstexpr

Definition at line 74 of file ApiCudaRt.hpp.

◆ deviceAttributeMaxSharedMemoryPerBlock

constexpr DeviceAttr_t alpaka::ApiCudaRt::deviceAttributeMaxSharedMemoryPerBlock = ::cudaDevAttrMaxSharedMemoryPerBlock
staticconstexpr

Definition at line 75 of file ApiCudaRt.hpp.

◆ deviceAttributeMaxThreadsPerBlock

constexpr DeviceAttr_t alpaka::ApiCudaRt::deviceAttributeMaxThreadsPerBlock = ::cudaDevAttrMaxThreadsPerBlock
staticconstexpr

Definition at line 76 of file ApiCudaRt.hpp.

◆ deviceAttributeMultiprocessorCount

constexpr DeviceAttr_t alpaka::ApiCudaRt::deviceAttributeMultiprocessorCount = ::cudaDevAttrMultiProcessorCount
staticconstexpr

Definition at line 77 of file ApiCudaRt.hpp.

◆ deviceAttributeWarpSize

constexpr DeviceAttr_t alpaka::ApiCudaRt::deviceAttributeWarpSize = ::cudaDevAttrWarpSize
staticconstexpr

Definition at line 78 of file ApiCudaRt.hpp.

◆ errorHostMemoryAlreadyRegistered

constexpr Error_t alpaka::ApiCudaRt::errorHostMemoryAlreadyRegistered = ::cudaErrorHostMemoryAlreadyRegistered
staticconstexpr

Definition at line 39 of file ApiCudaRt.hpp.

◆ errorHostMemoryNotRegistered

constexpr Error_t alpaka::ApiCudaRt::errorHostMemoryNotRegistered = ::cudaErrorHostMemoryNotRegistered
staticconstexpr

Definition at line 40 of file ApiCudaRt.hpp.

◆ errorNotReady

constexpr Error_t alpaka::ApiCudaRt::errorNotReady = ::cudaErrorNotReady
staticconstexpr

Definition at line 38 of file ApiCudaRt.hpp.

◆ errorUnknown

constexpr Error_t alpaka::ApiCudaRt::errorUnknown = ::cudaErrorUnknown
staticconstexpr

Definition at line 42 of file ApiCudaRt.hpp.

◆ errorUnsupportedLimit

constexpr Error_t alpaka::ApiCudaRt::errorUnsupportedLimit = ::cudaErrorUnsupportedLimit
staticconstexpr

Definition at line 41 of file ApiCudaRt.hpp.

◆ eventBlockingSync

constexpr Flag_t alpaka::ApiCudaRt::eventBlockingSync = cudaEventBlockingSync
staticconstexpr

Definition at line 45 of file ApiCudaRt.hpp.

◆ eventDefault

constexpr Flag_t alpaka::ApiCudaRt::eventDefault = cudaEventDefault
staticconstexpr

Definition at line 44 of file ApiCudaRt.hpp.

◆ eventDisableTiming

constexpr Flag_t alpaka::ApiCudaRt::eventDisableTiming = cudaEventDisableTiming
staticconstexpr

Definition at line 46 of file ApiCudaRt.hpp.

◆ eventInterprocess

constexpr Flag_t alpaka::ApiCudaRt::eventInterprocess = cudaEventInterprocess
staticconstexpr

Definition at line 47 of file ApiCudaRt.hpp.

◆ hostMallocCoherent

constexpr Flag_t alpaka::ApiCudaRt::hostMallocCoherent = cudaHostAllocDefault
staticconstexpr

Definition at line 53 of file ApiCudaRt.hpp.

◆ hostMallocDefault

constexpr Flag_t alpaka::ApiCudaRt::hostMallocDefault = cudaHostAllocDefault
staticconstexpr

Definition at line 49 of file ApiCudaRt.hpp.

◆ hostMallocMapped

constexpr Flag_t alpaka::ApiCudaRt::hostMallocMapped = cudaHostAllocMapped
staticconstexpr

Definition at line 50 of file ApiCudaRt.hpp.

◆ hostMallocNonCoherent

constexpr Flag_t alpaka::ApiCudaRt::hostMallocNonCoherent = cudaHostAllocDefault
staticconstexpr

Definition at line 54 of file ApiCudaRt.hpp.

◆ hostMallocPortable

constexpr Flag_t alpaka::ApiCudaRt::hostMallocPortable = cudaHostAllocPortable
staticconstexpr

Definition at line 51 of file ApiCudaRt.hpp.

◆ hostMallocWriteCombined

constexpr Flag_t alpaka::ApiCudaRt::hostMallocWriteCombined = cudaHostAllocWriteCombined
staticconstexpr

Definition at line 52 of file ApiCudaRt.hpp.

◆ hostRegisterDefault

constexpr Flag_t alpaka::ApiCudaRt::hostRegisterDefault = cudaHostRegisterDefault
staticconstexpr

Definition at line 56 of file ApiCudaRt.hpp.

◆ hostRegisterIoMemory

constexpr Flag_t alpaka::ApiCudaRt::hostRegisterIoMemory = cudaHostRegisterIoMemory
staticconstexpr

Definition at line 59 of file ApiCudaRt.hpp.

◆ hostRegisterMapped

constexpr Flag_t alpaka::ApiCudaRt::hostRegisterMapped = cudaHostRegisterMapped
staticconstexpr

Definition at line 58 of file ApiCudaRt.hpp.

◆ hostRegisterPortable

constexpr Flag_t alpaka::ApiCudaRt::hostRegisterPortable = cudaHostRegisterPortable
staticconstexpr

Definition at line 57 of file ApiCudaRt.hpp.

◆ limitMallocHeapSize

constexpr Limit_t alpaka::ApiCudaRt::limitMallocHeapSize = ::cudaLimitMallocHeapSize
staticconstexpr

Definition at line 81 of file ApiCudaRt.hpp.

◆ limitPrintfFifoSize

constexpr Limit_t alpaka::ApiCudaRt::limitPrintfFifoSize = ::cudaLimitPrintfFifoSize
staticconstexpr

Definition at line 80 of file ApiCudaRt.hpp.

◆ memcpyDefault

constexpr MemcpyKind_t alpaka::ApiCudaRt::memcpyDefault = ::cudaMemcpyDefault
staticconstexpr

Definition at line 61 of file ApiCudaRt.hpp.

◆ memcpyDeviceToDevice

constexpr MemcpyKind_t alpaka::ApiCudaRt::memcpyDeviceToDevice = ::cudaMemcpyDeviceToDevice
staticconstexpr

Definition at line 62 of file ApiCudaRt.hpp.

◆ memcpyDeviceToHost

constexpr MemcpyKind_t alpaka::ApiCudaRt::memcpyDeviceToHost = ::cudaMemcpyDeviceToHost
staticconstexpr

Definition at line 63 of file ApiCudaRt.hpp.

◆ memcpyHostToDevice

constexpr MemcpyKind_t alpaka::ApiCudaRt::memcpyHostToDevice = ::cudaMemcpyHostToDevice
staticconstexpr

Definition at line 64 of file ApiCudaRt.hpp.

◆ name

constexpr char alpaka::ApiCudaRt::name[] = "Cuda"
staticconstexpr

Definition at line 17 of file ApiCudaRt.hpp.

◆ streamDefault

constexpr Flag_t alpaka::ApiCudaRt::streamDefault = cudaStreamDefault
staticconstexpr

Definition at line 66 of file ApiCudaRt.hpp.

◆ streamNonBlocking

constexpr Flag_t alpaka::ApiCudaRt::streamNonBlocking = cudaStreamNonBlocking
staticconstexpr

Definition at line 67 of file ApiCudaRt.hpp.

◆ success

constexpr Error_t alpaka::ApiCudaRt::success = ::cudaSuccess
staticconstexpr

Definition at line 37 of file ApiCudaRt.hpp.

◆ version

constexpr auto alpaka::ApiCudaRt::version = BOOST_PREDEF_MAKE_10_VVRRP(CUDART_VERSION)
staticconstexpr

Definition at line 18 of file ApiCudaRt.hpp.


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