![]() |
alpaka
Abstraction Library for Parallel Kernel Acceleration
|
#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 (void *devPtr, 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 int | getCurrentDevice () |
| 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 (void **devPtr, size_t size, Stream_t stream) |
| static Error_t | mallocManaged (void **ptr, size_t size, Flag_t flags) |
| 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 Flag_t | memAttachGlobal = cudaMemAttachGlobal |
| static constexpr Flag_t | memAttachHost = cudaMemAttachHost |
| 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 = ALPAKA_LANG_CUDA |
Definition at line 15 of file ApiCudaRt.hpp.
| using alpaka::ApiCudaRt::DeviceAttr_t = ::cudaDeviceAttr |
Definition at line 22 of file ApiCudaRt.hpp.
| using alpaka::ApiCudaRt::DeviceProp_t = ::cudaDeviceProp |
Definition at line 23 of file ApiCudaRt.hpp.
| using alpaka::ApiCudaRt::Error_t = ::cudaError_t |
Definition at line 24 of file ApiCudaRt.hpp.
| using alpaka::ApiCudaRt::Event_t = ::cudaEvent_t |
Definition at line 25 of file ApiCudaRt.hpp.
| using alpaka::ApiCudaRt::Extent_t = ::cudaExtent |
Definition at line 26 of file ApiCudaRt.hpp.
| using alpaka::ApiCudaRt::Flag_t = unsigned int |
Definition at line 27 of file ApiCudaRt.hpp.
| using alpaka::ApiCudaRt::FuncAttributes_t = ::cudaFuncAttributes |
Definition at line 28 of file ApiCudaRt.hpp.
| using alpaka::ApiCudaRt::HostFn_t = void (*)(void* data) |
Definition at line 29 of file ApiCudaRt.hpp.
| using alpaka::ApiCudaRt::Limit_t = ::cudaLimit |
Definition at line 30 of file ApiCudaRt.hpp.
| using alpaka::ApiCudaRt::Memcpy3DParms_t = ::cudaMemcpy3DParms |
Definition at line 31 of file ApiCudaRt.hpp.
| using alpaka::ApiCudaRt::MemcpyKind_t = ::cudaMemcpyKind |
Definition at line 32 of file ApiCudaRt.hpp.
| using alpaka::ApiCudaRt::PitchedPtr_t = ::cudaPitchedPtr |
Definition at line 33 of file ApiCudaRt.hpp.
| using alpaka::ApiCudaRt::Pos_t = ::cudaPos |
Definition at line 34 of file ApiCudaRt.hpp.
| using alpaka::ApiCudaRt::Stream_t = ::cudaStream_t |
Definition at line 35 of file ApiCudaRt.hpp.
|
inlinestatic |
Definition at line 111 of file ApiCudaRt.hpp.
Definition at line 116 of file ApiCudaRt.hpp.
|
inlinestatic |
Definition at line 121 of file ApiCudaRt.hpp.
Definition at line 126 of file ApiCudaRt.hpp.
|
inlinestatic |
Definition at line 131 of file ApiCudaRt.hpp.
Definition at line 136 of file ApiCudaRt.hpp.
|
inlinestatic |
Definition at line 141 of file ApiCudaRt.hpp.
Definition at line 146 of file ApiCudaRt.hpp.
Definition at line 151 of file ApiCudaRt.hpp.
Definition at line 156 of file ApiCudaRt.hpp.
Definition at line 161 of file ApiCudaRt.hpp.
|
inlinestatic |
Definition at line 166 of file ApiCudaRt.hpp.
Definition at line 171 of file ApiCudaRt.hpp.
|
inlinestatic |
Definition at line 187 of file ApiCudaRt.hpp.
|
inlinestatic |
Definition at line 181 of file ApiCudaRt.hpp.
|
inlinestatic |
Definition at line 199 of file ApiCudaRt.hpp.
|
inlinestatic |
Definition at line 208 of file ApiCudaRt.hpp.
|
inlinestatic |
Definition at line 213 of file ApiCudaRt.hpp.
|
inlinestatic |
Definition at line 218 of file ApiCudaRt.hpp.
|
inlinestatic |
Definition at line 223 of file ApiCudaRt.hpp.
|
inlinestatic |
Definition at line 228 of file ApiCudaRt.hpp.
|
inlinestatic |
Definition at line 239 of file ApiCudaRt.hpp.
|
inlinestatic |
Definition at line 233 of file ApiCudaRt.hpp.
|
inlinestatic |
Definition at line 249 of file ApiCudaRt.hpp.
|
inlinestatic |
Definition at line 244 of file ApiCudaRt.hpp.
|
inlinestatic |
Definition at line 254 of file ApiCudaRt.hpp.
|
inlinestatic |
Definition at line 259 of file ApiCudaRt.hpp.
|
inlinestatic |
Definition at line 264 of file ApiCudaRt.hpp.
|
inlinestatic |
Definition at line 269 of file ApiCudaRt.hpp.
|
inlinestatic |
Definition at line 412 of file ApiCudaRt.hpp.
|
inlinestatic |
Definition at line 402 of file ApiCudaRt.hpp.
|
inlinestatic |
Definition at line 407 of file ApiCudaRt.hpp.
|
inlinestatic |
Definition at line 280 of file ApiCudaRt.hpp.
|
inlinestatic |
Definition at line 285 of file ApiCudaRt.hpp.
|
inlinestatic |
Definition at line 290 of file ApiCudaRt.hpp.
|
inlinestatic |
Definition at line 303 of file ApiCudaRt.hpp.
|
inlinestatic |
Definition at line 308 of file ApiCudaRt.hpp.
|
inlinestatic |
Definition at line 318 of file ApiCudaRt.hpp.
|
inlinestatic |
Definition at line 323 of file ApiCudaRt.hpp.
|
inlinestatic |
Definition at line 336 of file ApiCudaRt.hpp.
|
inlinestatic |
Definition at line 341 of file ApiCudaRt.hpp.
|
inlinestatic |
Definition at line 313 of file ApiCudaRt.hpp.
|
inlinestatic |
Definition at line 346 of file ApiCudaRt.hpp.
|
inlinestatic |
Definition at line 357 of file ApiCudaRt.hpp.
|
inlinestatic |
Definition at line 362 of file ApiCudaRt.hpp.
|
inlinestatic |
Definition at line 367 of file ApiCudaRt.hpp.
Definition at line 372 of file ApiCudaRt.hpp.
|
inlinestatic |
Definition at line 377 of file ApiCudaRt.hpp.
Definition at line 382 of file ApiCudaRt.hpp.
Definition at line 387 of file ApiCudaRt.hpp.
Definition at line 392 of file ApiCudaRt.hpp.
|
inlinestatic |
Definition at line 397 of file ApiCudaRt.hpp.
|
staticconstexpr |
Definition at line 73 of file ApiCudaRt.hpp.
|
staticconstexpr |
Definition at line 74 of file ApiCudaRt.hpp.
|
staticconstexpr |
Definition at line 75 of file ApiCudaRt.hpp.
|
staticconstexpr |
Definition at line 76 of file ApiCudaRt.hpp.
|
staticconstexpr |
Definition at line 77 of file ApiCudaRt.hpp.
|
staticconstexpr |
Definition at line 78 of file ApiCudaRt.hpp.
|
staticconstexpr |
Definition at line 79 of file ApiCudaRt.hpp.
|
staticconstexpr |
Definition at line 80 of file ApiCudaRt.hpp.
|
staticconstexpr |
Definition at line 81 of file ApiCudaRt.hpp.
|
staticconstexpr |
Definition at line 82 of file ApiCudaRt.hpp.
|
staticconstexpr |
Definition at line 40 of file ApiCudaRt.hpp.
|
staticconstexpr |
Definition at line 41 of file ApiCudaRt.hpp.
|
staticconstexpr |
Definition at line 39 of file ApiCudaRt.hpp.
|
staticconstexpr |
Definition at line 43 of file ApiCudaRt.hpp.
|
staticconstexpr |
Definition at line 42 of file ApiCudaRt.hpp.
|
staticconstexpr |
Definition at line 46 of file ApiCudaRt.hpp.
|
staticconstexpr |
Definition at line 45 of file ApiCudaRt.hpp.
|
staticconstexpr |
Definition at line 47 of file ApiCudaRt.hpp.
|
staticconstexpr |
Definition at line 48 of file ApiCudaRt.hpp.
|
staticconstexpr |
Definition at line 54 of file ApiCudaRt.hpp.
|
staticconstexpr |
Definition at line 50 of file ApiCudaRt.hpp.
|
staticconstexpr |
Definition at line 51 of file ApiCudaRt.hpp.
|
staticconstexpr |
Definition at line 55 of file ApiCudaRt.hpp.
|
staticconstexpr |
Definition at line 52 of file ApiCudaRt.hpp.
|
staticconstexpr |
Definition at line 53 of file ApiCudaRt.hpp.
|
staticconstexpr |
Definition at line 60 of file ApiCudaRt.hpp.
|
staticconstexpr |
Definition at line 63 of file ApiCudaRt.hpp.
|
staticconstexpr |
Definition at line 62 of file ApiCudaRt.hpp.
|
staticconstexpr |
Definition at line 61 of file ApiCudaRt.hpp.
|
staticconstexpr |
Definition at line 85 of file ApiCudaRt.hpp.
|
staticconstexpr |
Definition at line 84 of file ApiCudaRt.hpp.
|
staticconstexpr |
Definition at line 57 of file ApiCudaRt.hpp.
|
staticconstexpr |
Definition at line 58 of file ApiCudaRt.hpp.
|
staticconstexpr |
Definition at line 65 of file ApiCudaRt.hpp.
|
staticconstexpr |
Definition at line 66 of file ApiCudaRt.hpp.
|
staticconstexpr |
Definition at line 67 of file ApiCudaRt.hpp.
|
staticconstexpr |
Definition at line 68 of file ApiCudaRt.hpp.
|
staticconstexpr |
Definition at line 18 of file ApiCudaRt.hpp.
|
staticconstexpr |
Definition at line 70 of file ApiCudaRt.hpp.
|
staticconstexpr |
Definition at line 71 of file ApiCudaRt.hpp.
|
staticconstexpr |
Definition at line 38 of file ApiCudaRt.hpp.
|
staticconstexpr |
Definition at line 19 of file ApiCudaRt.hpp.