![]() |
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) |
| template<class T > | |
| static Error_t | launchCooperativeKernel (T *func, dim3 gridDim, dim3 blockDim, void **args, size_t sharedMem, Stream_t stream) |
| 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) |
| template<class T > | |
| static Error_t | occupancyMaxActiveBlocksPerMultiprocessor (int *numBlocks, T func, int blockSize, size_t dynamicSMemSize) |
| 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 | deviceAttributeCooperativeLaunch = ::cudaDevAttrCooperativeLaunch |
| 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 112 of file ApiCudaRt.hpp.
Definition at line 117 of file ApiCudaRt.hpp.
|
inlinestatic |
Definition at line 122 of file ApiCudaRt.hpp.
Definition at line 127 of file ApiCudaRt.hpp.
|
inlinestatic |
Definition at line 132 of file ApiCudaRt.hpp.
Definition at line 137 of file ApiCudaRt.hpp.
|
inlinestatic |
Definition at line 142 of file ApiCudaRt.hpp.
Definition at line 147 of file ApiCudaRt.hpp.
Definition at line 152 of file ApiCudaRt.hpp.
Definition at line 157 of file ApiCudaRt.hpp.
Definition at line 162 of file ApiCudaRt.hpp.
|
inlinestatic |
Definition at line 167 of file ApiCudaRt.hpp.
Definition at line 172 of file ApiCudaRt.hpp.
|
inlinestatic |
Definition at line 188 of file ApiCudaRt.hpp.
|
inlinestatic |
Definition at line 182 of file ApiCudaRt.hpp.
|
inlinestatic |
Definition at line 200 of file ApiCudaRt.hpp.
|
inlinestatic |
Definition at line 209 of file ApiCudaRt.hpp.
|
inlinestatic |
Definition at line 214 of file ApiCudaRt.hpp.
|
inlinestatic |
Definition at line 219 of file ApiCudaRt.hpp.
|
inlinestatic |
Definition at line 224 of file ApiCudaRt.hpp.
|
inlinestatic |
Definition at line 229 of file ApiCudaRt.hpp.
|
inlinestatic |
Definition at line 240 of file ApiCudaRt.hpp.
|
inlinestatic |
Definition at line 234 of file ApiCudaRt.hpp.
|
inlinestatic |
Definition at line 250 of file ApiCudaRt.hpp.
|
inlinestatic |
Definition at line 245 of file ApiCudaRt.hpp.
|
inlinestatic |
Definition at line 255 of file ApiCudaRt.hpp.
|
inlinestatic |
Definition at line 260 of file ApiCudaRt.hpp.
|
inlinestatic |
Definition at line 265 of file ApiCudaRt.hpp.
|
inlinestatic |
Definition at line 271 of file ApiCudaRt.hpp.
|
inlinestatic |
Definition at line 300 of file ApiCudaRt.hpp.
|
inlinestatic |
Definition at line 443 of file ApiCudaRt.hpp.
|
inlinestatic |
Definition at line 433 of file ApiCudaRt.hpp.
|
inlinestatic |
Definition at line 438 of file ApiCudaRt.hpp.
|
inlinestatic |
Definition at line 311 of file ApiCudaRt.hpp.
|
inlinestatic |
Definition at line 316 of file ApiCudaRt.hpp.
|
inlinestatic |
Definition at line 321 of file ApiCudaRt.hpp.
|
inlinestatic |
Definition at line 334 of file ApiCudaRt.hpp.
|
inlinestatic |
Definition at line 339 of file ApiCudaRt.hpp.
|
inlinestatic |
Definition at line 349 of file ApiCudaRt.hpp.
|
inlinestatic |
Definition at line 354 of file ApiCudaRt.hpp.
|
inlinestatic |
Definition at line 367 of file ApiCudaRt.hpp.
|
inlinestatic |
Definition at line 372 of file ApiCudaRt.hpp.
|
inlinestatic |
Definition at line 344 of file ApiCudaRt.hpp.
|
inlinestatic |
Definition at line 377 of file ApiCudaRt.hpp.
|
inlinestatic |
Definition at line 388 of file ApiCudaRt.hpp.
|
inlinestatic |
Definition at line 393 of file ApiCudaRt.hpp.
|
inlinestatic |
Definition at line 449 of file ApiCudaRt.hpp.
|
inlinestatic |
Definition at line 398 of file ApiCudaRt.hpp.
Definition at line 403 of file ApiCudaRt.hpp.
|
inlinestatic |
Definition at line 408 of file ApiCudaRt.hpp.
Definition at line 413 of file ApiCudaRt.hpp.
Definition at line 418 of file ApiCudaRt.hpp.
Definition at line 423 of file ApiCudaRt.hpp.
|
inlinestatic |
Definition at line 428 of file ApiCudaRt.hpp.
|
staticconstexpr |
Definition at line 83 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 86 of file ApiCudaRt.hpp.
|
staticconstexpr |
Definition at line 85 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.