Data types used by CUDA Runtime
- Provided by: nvidia-cuda-dev (Version: 10.1.243-3)
- Source: nvidia-cuda-toolkit
- Report a bug
#define CUDA_EGL_MAX_PLANES 3
#define CUDA_IPC_HANDLE_SIZE 64
#define cudaArrayColorAttachment 0x20
#define cudaArrayCubemap 0x04
#define cudaArrayDefault 0x00
#define cudaArrayLayered 0x01
#define cudaArraySurfaceLoadStore 0x02
#define cudaArrayTextureGather 0x08
#define cudaCooperativeLaunchMultiDeviceNoPostSync 0x02
#define cudaCooperativeLaunchMultiDeviceNoPreSync 0x01
#define cudaCpuDeviceId ((int)-1)
#define cudaDeviceBlockingSync 0x04
#define cudaDeviceLmemResizeToMax 0x10
#define cudaDeviceMapHost 0x08
#define cudaDeviceMask 0x1f
#define cudaDevicePropDontCare
#define cudaDeviceScheduleAuto 0x00
#define cudaDeviceScheduleBlockingSync 0x04
#define cudaDeviceScheduleMask 0x07
#define cudaDeviceScheduleSpin 0x01
#define cudaDeviceScheduleYield 0x02
#define cudaEventBlockingSync 0x01
#define cudaEventDefault 0x00
#define cudaEventDisableTiming 0x02
#define cudaEventInterprocess 0x04
#define cudaExternalMemoryDedicated 0x1
#define cudaHostAllocDefault 0x00
#define cudaHostAllocMapped 0x02
#define cudaHostAllocPortable 0x01
#define cudaHostAllocWriteCombined 0x04
#define cudaHostRegisterDefault 0x00
#define cudaHostRegisterIoMemory 0x04
#define cudaHostRegisterMapped 0x02
#define cudaHostRegisterPortable 0x01
#define cudaInvalidDeviceId ((int)-2)
#define cudaIpcMemLazyEnablePeerAccess 0x01
#define cudaMemAttachGlobal 0x01
#define cudaMemAttachHost 0x02
#define cudaMemAttachSingle 0x04
#define cudaOccupancyDefault 0x00
#define cudaOccupancyDisableCachingOverride 0x01
#define cudaPeerAccessDefault 0x00
#define cudaStreamDefault 0x00
#define cudaStreamLegacy ((cudaStream_t)0x1)
#define cudaStreamNonBlocking 0x01
#define cudaStreamPerThread ((cudaStream_t)0x2)
typedef struct cudaArray * cudaArray_const_t
typedef struct cudaArray * cudaArray_t
typedef struct CUeglStreamConnection_st * cudaEglStreamConnection
typedef enum cudaError cudaError_t
typedef struct CUevent_st * cudaEvent_t
typedef struct CUexternalMemory_st * cudaExternalMemory_t
typedef struct CUexternalSemaphore_st * cudaExternalSemaphore_t
typedef struct CUgraph_st * cudaGraph_t
typedef struct CUgraphExec_st * cudaGraphExec_t
typedef struct cudaGraphicsResource * cudaGraphicsResource_t
typedef struct CUgraphNode_st * cudaGraphNode_t
typedef void(CUDART_CB * cudaHostFn_t )(void *userData)
typedef struct cudaMipmappedArray * cudaMipmappedArray_const_t
typedef struct cudaMipmappedArray * cudaMipmappedArray_t
typedef enum cudaOutputMode cudaOutputMode_t
typedef struct CUstream_st * cudaStream_t
typedef unsigned long long cudaSurfaceObject_t
typedef unsigned long long cudaTextureObject_t
enum cudaCGScope { cudaCGScopeInvalid = 0,
cudaCGScopeGrid = 1, cudaCGScopeMultiGrid = 2 }
enum cudaChannelFormatKind { cudaChannelFormatKindSigned = 0,
cudaChannelFormatKindUnsigned = 1, cudaChannelFormatKindFloat
= 2, cudaChannelFormatKindNone = 3 }
enum cudaComputeMode { cudaComputeModeDefault = 0,
cudaComputeModeExclusive = 1, cudaComputeModeProhibited = 2,
cudaComputeModeExclusiveProcess = 3 }
enum cudaDeviceAttr { cudaDevAttrMaxThreadsPerBlock = 1,
cudaDevAttrMaxBlockDimX = 2, cudaDevAttrMaxBlockDimY = 3,
cudaDevAttrMaxBlockDimZ = 4, cudaDevAttrMaxGridDimX = 5,
cudaDevAttrMaxGridDimY = 6, cudaDevAttrMaxGridDimZ = 7,
cudaDevAttrMaxSharedMemoryPerBlock = 8,
cudaDevAttrTotalConstantMemory = 9, cudaDevAttrWarpSize = 10,
cudaDevAttrMaxPitch = 11, cudaDevAttrMaxRegistersPerBlock =
12, cudaDevAttrClockRate = 13, cudaDevAttrTextureAlignment =
14, cudaDevAttrGpuOverlap = 15, cudaDevAttrMultiProcessorCount
= 16, cudaDevAttrKernelExecTimeout = 17, cudaDevAttrIntegrated
= 18, cudaDevAttrCanMapHostMemory = 19, cudaDevAttrComputeMode
= 20, cudaDevAttrMaxTexture1DWidth = 21,
cudaDevAttrMaxTexture2DWidth = 22,
cudaDevAttrMaxTexture2DHeight = 23,
cudaDevAttrMaxTexture3DWidth = 24,
cudaDevAttrMaxTexture3DHeight = 25,
cudaDevAttrMaxTexture3DDepth = 26,
cudaDevAttrMaxTexture2DLayeredWidth = 27,
cudaDevAttrMaxTexture2DLayeredHeight = 28,
cudaDevAttrMaxTexture2DLayeredLayers = 29,
cudaDevAttrSurfaceAlignment = 30, cudaDevAttrConcurrentKernels
= 31, cudaDevAttrEccEnabled = 32, cudaDevAttrPciBusId = 33,
cudaDevAttrPciDeviceId = 34, cudaDevAttrTccDriver = 35,
cudaDevAttrMemoryClockRate = 36,
cudaDevAttrGlobalMemoryBusWidth = 37, cudaDevAttrL2CacheSize =
38, cudaDevAttrMaxThreadsPerMultiProcessor = 39,
cudaDevAttrAsyncEngineCount = 40, cudaDevAttrUnifiedAddressing
= 41, cudaDevAttrMaxTexture1DLayeredWidth = 42,
cudaDevAttrMaxTexture1DLayeredLayers = 43,
cudaDevAttrMaxTexture2DGatherWidth = 45,
cudaDevAttrMaxTexture2DGatherHeight = 46,
cudaDevAttrMaxTexture3DWidthAlt = 47,
cudaDevAttrMaxTexture3DHeightAlt = 48,
cudaDevAttrMaxTexture3DDepthAlt = 49, cudaDevAttrPciDomainId =
50, cudaDevAttrTexturePitchAlignment = 51,
cudaDevAttrMaxTextureCubemapWidth = 52,
cudaDevAttrMaxTextureCubemapLayeredWidth = 53,
cudaDevAttrMaxTextureCubemapLayeredLayers = 54,
cudaDevAttrMaxSurface1DWidth = 55,
cudaDevAttrMaxSurface2DWidth = 56,
cudaDevAttrMaxSurface2DHeight = 57,
cudaDevAttrMaxSurface3DWidth = 58,
cudaDevAttrMaxSurface3DHeight = 59,
cudaDevAttrMaxSurface3DDepth = 60,
cudaDevAttrMaxSurface1DLayeredWidth = 61,
cudaDevAttrMaxSurface1DLayeredLayers = 62,
cudaDevAttrMaxSurface2DLayeredWidth = 63,
cudaDevAttrMaxSurface2DLayeredHeight = 64,
cudaDevAttrMaxSurface2DLayeredLayers = 65,
cudaDevAttrMaxSurfaceCubemapWidth = 66,
cudaDevAttrMaxSurfaceCubemapLayeredWidth = 67,
cudaDevAttrMaxSurfaceCubemapLayeredLayers = 68,
cudaDevAttrMaxTexture1DLinearWidth = 69,
cudaDevAttrMaxTexture2DLinearWidth = 70,
cudaDevAttrMaxTexture2DLinearHeight = 71,
cudaDevAttrMaxTexture2DLinearPitch = 72,
cudaDevAttrMaxTexture2DMipmappedWidth = 73,
cudaDevAttrMaxTexture2DMipmappedHeight = 74,
cudaDevAttrComputeCapabilityMajor = 75,
cudaDevAttrComputeCapabilityMinor = 76,
cudaDevAttrMaxTexture1DMipmappedWidth = 77,
cudaDevAttrStreamPrioritiesSupported = 78,
cudaDevAttrGlobalL1CacheSupported = 79,
cudaDevAttrLocalL1CacheSupported = 80,
cudaDevAttrMaxSharedMemoryPerMultiprocessor = 81,
cudaDevAttrMaxRegistersPerMultiprocessor = 82,
cudaDevAttrManagedMemory = 83, cudaDevAttrIsMultiGpuBoard =
84, cudaDevAttrMultiGpuBoardGroupID = 85,
cudaDevAttrHostNativeAtomicSupported = 86,
cudaDevAttrSingleToDoublePrecisionPerfRatio = 87,
cudaDevAttrPageableMemoryAccess = 88,
cudaDevAttrConcurrentManagedAccess = 89,
cudaDevAttrComputePreemptionSupported = 90,
cudaDevAttrCanUseHostPointerForRegisteredMem = 91,
cudaDevAttrCooperativeLaunch = 95,
cudaDevAttrCooperativeMultiDeviceLaunch = 96,
cudaDevAttrMaxSharedMemoryPerBlockOptin = 97,
cudaDevAttrCanFlushRemoteWrites = 98,
cudaDevAttrHostRegisterSupported = 99,
cudaDevAttrPageableMemoryAccessUsesHostPageTables = 100,
cudaDevAttrDirectManagedMemAccessFromHost = 101 }
enum cudaDeviceP2PAttr { cudaDevP2PAttrPerformanceRank = 1,
cudaDevP2PAttrAccessSupported = 2,
cudaDevP2PAttrNativeAtomicSupported = 3,
cudaDevP2PAttrCudaArrayAccessSupported = 4 }
enum cudaEglColorFormat { cudaEglColorFormatYUV420Planar = 0,
cudaEglColorFormatYUV420SemiPlanar = 1,
cudaEglColorFormatYUV422Planar = 2,
cudaEglColorFormatYUV422SemiPlanar = 3, cudaEglColorFormatRGB
= 4, cudaEglColorFormatBGR = 5, cudaEglColorFormatARGB = 6,
cudaEglColorFormatRGBA = 7, cudaEglColorFormatL = 8,
cudaEglColorFormatR = 9, cudaEglColorFormatYUV444Planar = 10,
cudaEglColorFormatYUV444SemiPlanar = 11,
cudaEglColorFormatYUYV422 = 12, cudaEglColorFormatUYVY422 =
13, cudaEglColorFormatABGR = 14, cudaEglColorFormatBGRA = 15,
cudaEglColorFormatA = 16, cudaEglColorFormatRG = 17,
cudaEglColorFormatAYUV = 18,
cudaEglColorFormatYVU444SemiPlanar = 19,
cudaEglColorFormatYVU422SemiPlanar = 20,
cudaEglColorFormatYVU420SemiPlanar = 21,
cudaEglColorFormatY10V10U10_444SemiPlanar = 22,
cudaEglColorFormatY10V10U10_420SemiPlanar = 23,
cudaEglColorFormatY12V12U12_444SemiPlanar = 24,
cudaEglColorFormatY12V12U12_420SemiPlanar = 25,
cudaEglColorFormatVYUY_ER = 26, cudaEglColorFormatUYVY_ER =
27, cudaEglColorFormatYUYV_ER = 28, cudaEglColorFormatYVYU_ER
= 29, cudaEglColorFormatYUV_ER = 30, cudaEglColorFormatYUVA_ER
= 31, cudaEglColorFormatAYUV_ER = 32,
cudaEglColorFormatYUV444Planar_ER = 33,
cudaEglColorFormatYUV422Planar_ER = 34,
cudaEglColorFormatYUV420Planar_ER = 35,
cudaEglColorFormatYUV444SemiPlanar_ER = 36,
cudaEglColorFormatYUV422SemiPlanar_ER = 37,
cudaEglColorFormatYUV420SemiPlanar_ER = 38,
cudaEglColorFormatYVU444Planar_ER = 39,
cudaEglColorFormatYVU422Planar_ER = 40,
cudaEglColorFormatYVU420Planar_ER = 41,
cudaEglColorFormatYVU444SemiPlanar_ER = 42,
cudaEglColorFormatYVU422SemiPlanar_ER = 43,
cudaEglColorFormatYVU420SemiPlanar_ER = 44,
cudaEglColorFormatBayerRGGB = 45, cudaEglColorFormatBayerBGGR
= 46, cudaEglColorFormatBayerGRBG = 47,
cudaEglColorFormatBayerGBRG = 48,
cudaEglColorFormatBayer10RGGB = 49,
cudaEglColorFormatBayer10BGGR = 50,
cudaEglColorFormatBayer10GRBG = 51,
cudaEglColorFormatBayer10GBRG = 52,
cudaEglColorFormatBayer12RGGB = 53,
cudaEglColorFormatBayer12BGGR = 54,
cudaEglColorFormatBayer12GRBG = 55,
cudaEglColorFormatBayer12GBRG = 56,
cudaEglColorFormatBayer14RGGB = 57,
cudaEglColorFormatBayer14BGGR = 58,
cudaEglColorFormatBayer14GRBG = 59,
cudaEglColorFormatBayer14GBRG = 60,
cudaEglColorFormatBayer20RGGB = 61,
cudaEglColorFormatBayer20BGGR = 62,
cudaEglColorFormatBayer20GRBG = 63,
cudaEglColorFormatBayer20GBRG = 64,
cudaEglColorFormatYVU444Planar = 65,
cudaEglColorFormatYVU422Planar = 66,
cudaEglColorFormatYVU420Planar = 67,
cudaEglColorFormatBayerIspRGGB = 68,
cudaEglColorFormatBayerIspBGGR = 69,
cudaEglColorFormatBayerIspGRBG = 70,
cudaEglColorFormatBayerIspGBRG = 71 }
enum cudaEglFrameType { cudaEglFrameTypeArray = 0,
cudaEglFrameTypePitch = 1 }
enum cudaEglResourceLocationFlags {
cudaEglResourceLocationSysmem = 0x00,
cudaEglResourceLocationVidmem = 0x01 }
enum cudaError { cudaSuccess = 0, cudaErrorInvalidValue =
1, cudaErrorMemoryAllocation = 2, cudaErrorInitializationError
= 3, cudaErrorCudartUnloading = 4, cudaErrorProfilerDisabled =
5, cudaErrorProfilerNotInitialized = 6,
cudaErrorProfilerAlreadyStarted = 7,
cudaErrorProfilerAlreadyStopped = 8,
cudaErrorInvalidConfiguration = 9, cudaErrorInvalidPitchValue
= 12, cudaErrorInvalidSymbol = 13, cudaErrorInvalidHostPointer
= 16, cudaErrorInvalidDevicePointer = 17,
cudaErrorInvalidTexture = 18, cudaErrorInvalidTextureBinding =
19, cudaErrorInvalidChannelDescriptor = 20,
cudaErrorInvalidMemcpyDirection = 21,
cudaErrorAddressOfConstant = 22, cudaErrorTextureFetchFailed =
23, cudaErrorTextureNotBound = 24,
cudaErrorSynchronizationError = 25,
cudaErrorInvalidFilterSetting = 26,
cudaErrorInvalidNormSetting = 27,
cudaErrorMixedDeviceExecution = 28, cudaErrorNotYetImplemented
= 31, cudaErrorMemoryValueTooLarge = 32,
cudaErrorInsufficientDriver = 35, cudaErrorInvalidSurface =
37, cudaErrorDuplicateVariableName = 43,
cudaErrorDuplicateTextureName = 44,
cudaErrorDuplicateSurfaceName = 45,
cudaErrorDevicesUnavailable = 46,
cudaErrorIncompatibleDriverContext = 49,
cudaErrorMissingConfiguration = 52,
cudaErrorPriorLaunchFailure = 53,
cudaErrorLaunchMaxDepthExceeded = 65,
cudaErrorLaunchFileScopedTex = 66,
cudaErrorLaunchFileScopedSurf = 67, cudaErrorSyncDepthExceeded
= 68, cudaErrorLaunchPendingCountExceeded = 69,
cudaErrorInvalidDeviceFunction = 98, cudaErrorNoDevice = 100,
cudaErrorInvalidDevice = 101, cudaErrorStartupFailure = 127,
cudaErrorInvalidKernelImage = 200,
cudaErrorDeviceUninitilialized = 201,
cudaErrorMapBufferObjectFailed = 205,
cudaErrorUnmapBufferObjectFailed = 206, cudaErrorArrayIsMapped
= 207, cudaErrorAlreadyMapped = 208,
cudaErrorNoKernelImageForDevice = 209,
cudaErrorAlreadyAcquired = 210, cudaErrorNotMapped = 211,
cudaErrorNotMappedAsArray = 212, cudaErrorNotMappedAsPointer =
213, cudaErrorECCUncorrectable = 214,
cudaErrorUnsupportedLimit = 215, cudaErrorDeviceAlreadyInUse =
216, cudaErrorPeerAccessUnsupported = 217, cudaErrorInvalidPtx
= 218, cudaErrorInvalidGraphicsContext = 219,
cudaErrorNvlinkUncorrectable = 220,
cudaErrorJitCompilerNotFound = 221, cudaErrorInvalidSource =
300, cudaErrorFileNotFound = 301,
cudaErrorSharedObjectSymbolNotFound = 302,
cudaErrorSharedObjectInitFailed = 303,
cudaErrorOperatingSystem = 304, cudaErrorInvalidResourceHandle
= 400, cudaErrorIllegalState = 401, cudaErrorSymbolNotFound =
500, cudaErrorNotReady = 600, cudaErrorIllegalAddress = 700,
cudaErrorLaunchOutOfResources = 701, cudaErrorLaunchTimeout =
702, cudaErrorLaunchIncompatibleTexturing = 703,
cudaErrorPeerAccessAlreadyEnabled = 704,
cudaErrorPeerAccessNotEnabled = 705,
cudaErrorSetOnActiveProcess = 708, cudaErrorContextIsDestroyed
= 709, cudaErrorAssert = 710, cudaErrorTooManyPeers = 711,
cudaErrorHostMemoryAlreadyRegistered = 712,
cudaErrorHostMemoryNotRegistered = 713,
cudaErrorHardwareStackError = 714, cudaErrorIllegalInstruction
= 715, cudaErrorMisalignedAddress = 716,
cudaErrorInvalidAddressSpace = 717, cudaErrorInvalidPc = 718,
cudaErrorLaunchFailure = 719,
cudaErrorCooperativeLaunchTooLarge = 720,
cudaErrorNotPermitted = 800, cudaErrorNotSupported = 801,
cudaErrorSystemNotReady = 802, cudaErrorSystemDriverMismatch =
803, cudaErrorCompatNotSupportedOnDevice = 804,
cudaErrorStreamCaptureUnsupported = 900,
cudaErrorStreamCaptureInvalidated = 901,
cudaErrorStreamCaptureMerge = 902,
cudaErrorStreamCaptureUnmatched = 903,
cudaErrorStreamCaptureUnjoined = 904,
cudaErrorStreamCaptureIsolation = 905,
cudaErrorStreamCaptureImplicit = 906, cudaErrorCapturedEvent =
907, cudaErrorStreamCaptureWrongThread = 908, cudaErrorUnknown
= 999, cudaErrorApiFailureBase = 10000 }
enum cudaExternalMemoryHandleType {
cudaExternalMemoryHandleTypeOpaqueFd = 1,
cudaExternalMemoryHandleTypeOpaqueWin32 = 2,
cudaExternalMemoryHandleTypeOpaqueWin32Kmt = 3,
cudaExternalMemoryHandleTypeD3D12Heap = 4,
cudaExternalMemoryHandleTypeD3D12Resource = 5 }
enum cudaExternalSemaphoreHandleType {
cudaExternalSemaphoreHandleTypeOpaqueFd = 1,
cudaExternalSemaphoreHandleTypeOpaqueWin32 = 2,
cudaExternalSemaphoreHandleTypeOpaqueWin32Kmt = 3,
cudaExternalSemaphoreHandleTypeD3D12Fence = 4 }
enum cudaFuncAttribute {
cudaFuncAttributeMaxDynamicSharedMemorySize = 8,
cudaFuncAttributePreferredSharedMemoryCarveout = 9 }
enum cudaFuncCache { cudaFuncCachePreferNone = 0,
cudaFuncCachePreferShared = 1, cudaFuncCachePreferL1 = 2,
cudaFuncCachePreferEqual = 3 }
enum cudaGraphicsCubeFace { cudaGraphicsCubeFacePositiveX =
0x00, cudaGraphicsCubeFaceNegativeX = 0x01,
cudaGraphicsCubeFacePositiveY = 0x02,
cudaGraphicsCubeFaceNegativeY = 0x03,
cudaGraphicsCubeFacePositiveZ = 0x04,
cudaGraphicsCubeFaceNegativeZ = 0x05 }
enum cudaGraphicsMapFlags { cudaGraphicsMapFlagsNone = 0,
cudaGraphicsMapFlagsReadOnly = 1,
cudaGraphicsMapFlagsWriteDiscard = 2 }
enum cudaGraphicsRegisterFlags { cudaGraphicsRegisterFlagsNone =
0, cudaGraphicsRegisterFlagsReadOnly = 1,
cudaGraphicsRegisterFlagsWriteDiscard = 2,
cudaGraphicsRegisterFlagsSurfaceLoadStore = 4,
cudaGraphicsRegisterFlagsTextureGather = 8 }
enum cudaGraphNodeType { cudaGraphNodeTypeKernel = 0x00,
cudaGraphNodeTypeMemcpy = 0x01, cudaGraphNodeTypeMemset =
0x02, cudaGraphNodeTypeHost = 0x03, cudaGraphNodeTypeGraph =
0x04, cudaGraphNodeTypeEmpty = 0x05 }
enum cudaLimit { cudaLimitStackSize = 0x00,
cudaLimitPrintfFifoSize = 0x01, cudaLimitMallocHeapSize =
0x02, cudaLimitDevRuntimeSyncDepth = 0x03,
cudaLimitDevRuntimePendingLaunchCount = 0x04,
cudaLimitMaxL2FetchGranularity = 0x05 }
enum cudaMemcpyKind { cudaMemcpyHostToHost = 0,
cudaMemcpyHostToDevice = 1, cudaMemcpyDeviceToHost = 2,
cudaMemcpyDeviceToDevice = 3, cudaMemcpyDefault = 4 }
enum cudaMemoryAdvise { cudaMemAdviseSetReadMostly = 1,
cudaMemAdviseUnsetReadMostly = 2,
cudaMemAdviseSetPreferredLocation = 3,
cudaMemAdviseUnsetPreferredLocation = 4,
cudaMemAdviseSetAccessedBy = 5, cudaMemAdviseUnsetAccessedBy =
6 }
enum cudaMemoryType { cudaMemoryTypeUnregistered = 0,
cudaMemoryTypeHost = 1, cudaMemoryTypeDevice = 2,
cudaMemoryTypeManaged = 3 }
enum cudaMemRangeAttribute { cudaMemRangeAttributeReadMostly =
1, cudaMemRangeAttributePreferredLocation = 2,
cudaMemRangeAttributeAccessedBy = 3,
cudaMemRangeAttributeLastPrefetchLocation = 4 }
enum cudaOutputMode { cudaKeyValuePair = 0x00, cudaCSV =
0x01 }
enum cudaResourceType { cudaResourceTypeArray = 0x00,
cudaResourceTypeMipmappedArray = 0x01, cudaResourceTypeLinear
= 0x02, cudaResourceTypePitch2D = 0x03 }
enum cudaResourceViewFormat { cudaResViewFormatNone = 0x00,
cudaResViewFormatUnsignedChar1 = 0x01,
cudaResViewFormatUnsignedChar2 = 0x02,
cudaResViewFormatUnsignedChar4 = 0x03,
cudaResViewFormatSignedChar1 = 0x04,
cudaResViewFormatSignedChar2 = 0x05,
cudaResViewFormatSignedChar4 = 0x06,
cudaResViewFormatUnsignedShort1 = 0x07,
cudaResViewFormatUnsignedShort2 = 0x08,
cudaResViewFormatUnsignedShort4 = 0x09,
cudaResViewFormatSignedShort1 = 0x0a,
cudaResViewFormatSignedShort2 = 0x0b,
cudaResViewFormatSignedShort4 = 0x0c,
cudaResViewFormatUnsignedInt1 = 0x0d,
cudaResViewFormatUnsignedInt2 = 0x0e,
cudaResViewFormatUnsignedInt4 = 0x0f,
cudaResViewFormatSignedInt1 = 0x10,
cudaResViewFormatSignedInt2 = 0x11,
cudaResViewFormatSignedInt4 = 0x12, cudaResViewFormatHalf1 =
0x13, cudaResViewFormatHalf2 = 0x14, cudaResViewFormatHalf4 =
0x15, cudaResViewFormatFloat1 = 0x16, cudaResViewFormatFloat2
= 0x17, cudaResViewFormatFloat4 = 0x18,
cudaResViewFormatUnsignedBlockCompressed1 = 0x19,
cudaResViewFormatUnsignedBlockCompressed2 = 0x1a,
cudaResViewFormatUnsignedBlockCompressed3 = 0x1b,
cudaResViewFormatUnsignedBlockCompressed4 = 0x1c,
cudaResViewFormatSignedBlockCompressed4 = 0x1d,
cudaResViewFormatUnsignedBlockCompressed5 = 0x1e,
cudaResViewFormatSignedBlockCompressed5 = 0x1f,
cudaResViewFormatUnsignedBlockCompressed6H = 0x20,
cudaResViewFormatSignedBlockCompressed6H = 0x21,
cudaResViewFormatUnsignedBlockCompressed7 = 0x22 }
enum cudaSharedCarveout { cudaSharedmemCarveoutDefault = -1,
cudaSharedmemCarveoutMaxShared = 100,
cudaSharedmemCarveoutMaxL1 = 0 }
enum cudaSharedMemConfig
enum cudaStreamCaptureMode
enum cudaStreamCaptureStatus { cudaStreamCaptureStatusNone = 0,
cudaStreamCaptureStatusActive = 1,
cudaStreamCaptureStatusInvalidated = 2 }
enum cudaSurfaceBoundaryMode { cudaBoundaryModeZero = 0,
cudaBoundaryModeClamp = 1, cudaBoundaryModeTrap = 2 }
enum cudaSurfaceFormatMode { cudaFormatModeForced = 0,
cudaFormatModeAuto = 1 }
enum cudaTextureAddressMode { cudaAddressModeWrap = 0,
cudaAddressModeClamp = 1, cudaAddressModeMirror = 2,
cudaAddressModeBorder = 3 }
enum cudaTextureFilterMode { cudaFilterModePoint = 0,
cudaFilterModeLinear = 1 }
enum cudaTextureReadMode { cudaReadModeElementType = 0,
cudaReadModeNormalizedFloat = 1 }
Maximum number of planes per frame
CUDA IPC Handle Size
Must be set in cudaExternalMemoryGetMappedMipmappedArray if the mipmapped array is used as a color target in a graphics API
Must be set in cudaMalloc3DArray to create a cubemap CUDA array
Default CUDA array allocation flag
Must be set in cudaMalloc3DArray to create a layered CUDA array
Must be set in cudaMallocArray or cudaMalloc3DArray in order to bind surfaces to the CUDA array
Must be set in cudaMallocArray or cudaMalloc3DArray in order to perform texture gather operations on the CUDA array
If set, any subsequent work pushed in a stream that participated in a call to cudaLaunchCooperativeKernelMultiDevice will only wait for the kernel launched on the GPU corresponding to that stream to complete before it begins execution.
If set, each kernel launched as part of cudaLaunchCooperativeKernelMultiDevice only waits for prior work in the stream corresponding to that GPU to complete before the kernel begins execution.
Device id that represents the CPU
Device flag - Use blocking synchronization
Deprecated
Device flag - Keep local memory allocation after launch
Device flag - Support mapped pinned allocations
Device flags mask
Empty device properties
Device flag - Automatic scheduling
Device flag - Use blocking synchronization
Device schedule flags mask
Device flag - Spin default scheduling
Device flag - Yield default scheduling
Event uses blocking synchronization
Default event flag
Event will not record timing data
Event is suitable for interprocess use. cudaEventDisableTiming must be set
Indicates that the external memory object is a dedicated resource
Default page-locked allocation flag
Map allocation into device space
Pinned memory accessible by all CUDA contexts
Write-combined memory
Default host memory registration flag
Memory-mapped I/O space
Map registered memory into device space
Pinned memory accessible by all CUDA contexts
Device id that represents an invalid device
Automatically enable peer access between remote devices as needed
Memory can be accessed by any stream on any device
Memory cannot be accessed by any stream on any device
Memory can only be accessed by a single stream on the associated device
Default behavior
Assume global caching is enabled and cannot be automatically turned off
Default peer addressing enable flag
Default stream flag
Legacy stream handle
Stream handle that can be passed as a cudaStream_t to use an implicit stream with legacy synchronization behavior.
See details of the .
Stream does not synchronize with stream 0 (the NULL stream)
Per-thread stream handle
Stream handle that can be passed as a cudaStream_t to use an implicit stream with per-thread synchronization behavior.
See details of the .
CUDA array (as source copy argument)
CUDA array
CUDA EGLSream Connection
CUDA Error types
CUDA event types
CUDA external memory
CUDA external semaphore
CUDA graph
CUDA executable (launchable) graph
CUDA graphics resource types
CUDA graph node.
CUDA host function
Parameters:
CUDA mipmapped array (as source argument)
CUDA mipmapped array
CUDA output file modes
CUDA stream
An opaque value that represents a CUDA Surface object
An opaque value that represents a CUDA texture object
CUDA cooperative group scope
Enumerator:
Channel format kind
Enumerator:
CUDA device compute modes
Enumerator:
CUDA device attributes
Enumerator:
CUDA device P2P attributes
Enumerator:
CUDA EGL Color Format - The different planar and multiplanar formats currently supported for CUDA_EGL interops.
Enumerator:
CUDA EglFrame type - array or pointer
Enumerator:
Resource location flags- sysmem or vidmem
For CUDA context on iGPU, since video and system memory are equivalent - these flags will not have an effect on the execution.
For CUDA context on dGPU, applications can use the flag cudaEglResourceLocationFlags to give a hint about the desired location.
cudaEglResourceLocationSysmem - the frame data is made resident on the system memory to be accessed by CUDA.
cudaEglResourceLocationVidmem - the frame data is made resident on the dedicated video memory to be accessed by CUDA.
There may be an additional latency due to new allocation and data migration, if the frame is produced on a different memory.
Enumerator:
CUDA error types
Enumerator:
Deprecated
Deprecated
Deprecated
Deprecated
Deprecated
Deprecated
Deprecated
Deprecated
Deprecated
Deprecated
Deprecated
External memory handle types
Enumerator:
External semaphore handle types
Enumerator:
CUDA function attributes that can be set using cudaFuncSetAttribute
Enumerator:
CUDA function cache configurations
Enumerator:
CUDA graphics interop array indices for cube maps
Enumerator:
CUDA graphics interop map flags
Enumerator:
CUDA graphics interop register flags
Enumerator:
CUDA Graph node types
Enumerator:
CUDA Limits
Enumerator:
CUDA memory copy types
Enumerator:
CUDA Memory Advise values
Enumerator:
CUDA memory types
Enumerator:
CUDA range attributes
Enumerator:
CUDA Profiler Output modes
Enumerator:
CUDA resource types
Enumerator:
CUDA texture resource view formats
Enumerator:
Shared memory carveout configurations. These may be passed to cudaFuncSetAttribute
Enumerator:
CUDA shared memory configuration
Possible modes for stream capture thread interactions. For more details see cudaStreamBeginCapture and cudaThreadExchangeStreamCaptureMode
Possible stream capture statuses returned by cudaStreamIsCapturing
Enumerator:
CUDA Surface boundary modes
Enumerator:
CUDA Surface format modes
Enumerator:
CUDA texture address modes
Enumerator:
CUDA texture filter modes
Enumerator:
CUDA texture read modes
Enumerator:
Generated automatically by Doxygen from the source code.