Expand description
CUDA Driver API declarations for contexts, memory, kernels, and graphs.
Re-exports§
pub use self::CUipcMem_flags_enum as CUipcMem_flags;pub use self::CUmemAttach_flags_enum as CUmemAttach_flags;pub use self::CUctx_flags_enum as CUctx_flags;pub use self::CUevent_sched_flags_enum as CUevent_sched_flags;pub use self::CUhostTaskSyncMode_enum as CUhostTaskSyncMode;pub use self::CUstream_flags_enum as CUstream_flags;pub use self::CUevent_flags_enum as CUevent_flags;pub use self::CUevent_record_flags_enum as CUevent_record_flags;pub use self::CUevent_wait_flags_enum as CUevent_wait_flags;pub use self::CUatomicOperation_enum as CUatomicOperation;pub use self::CUatomicOperationCapability_enum as CUatomicOperationCapability;pub use self::CUstreamWaitValue_flags_enum as CUstreamWaitValue_flags;pub use self::CUstreamWriteValue_flags_enum as CUstreamWriteValue_flags;pub use self::CUstreamBatchMemOpType_enum as CUstreamBatchMemOpType;pub use self::CUstreamMemoryBarrier_flags_enum as CUstreamMemoryBarrier_flags;pub use self::CUstreamAtomicReductionOpType_enum as CUstreamAtomicReductionOpType;pub use self::CUstreamAtomicReductionDataType_enum as CUstreamAtomicReductionDataType;pub use self::CUoccupancy_flags_enum as CUoccupancy_flags;pub use self::CUstreamUpdateCaptureDependencies_flags_enum as CUstreamUpdateCaptureDependencies_flags;pub use self::CUasyncNotificationType_enum as CUasyncNotificationType;pub use self::CUarray_format_enum as CUarray_format;pub use self::CUaddress_mode_enum as CUaddress_mode;pub use self::CUfilter_mode_enum as CUfilter_mode;pub use self::CUdevice_attribute_enum as CUdevice_attribute;pub use self::CUpointer_attribute_enum as CUpointer_attribute;pub use self::CUfunction_attribute_enum as CUfunction_attribute;pub use self::CUfunc_cache_enum as CUfunc_cache;pub use self::CUmemorytype_enum as CUmemorytype;pub use self::CUcomputemode_enum as CUcomputemode;pub use self::CUmem_advise_enum as CUmem_advise;pub use self::CUmem_range_attribute_enum as CUmem_range_attribute;pub use self::CUjit_option_enum as CUjit_option;pub use self::CUjit_target_enum as CUjit_target;pub use self::CUjit_fallback_enum as CUjit_fallback;pub use self::CUjit_cacheMode_enum as CUjit_cacheMode;pub use self::CUjitInputType_enum as CUjitInputType;pub use self::CUgraphicsRegisterFlags_enum as CUgraphicsRegisterFlags;pub use self::CUgraphicsMapResourceFlags_enum as CUgraphicsMapResourceFlags;pub use self::CUarray_cubemap_face_enum as CUarray_cubemap_face;pub use self::CUlimit_enum as CUlimit;pub use self::CUresourcetype_enum as CUresourcetype;pub use self::CUaccessProperty_enum as CUaccessProperty;pub use self::CUgraphConditionalNodeType_enum as CUgraphConditionalNodeType;pub use self::CUgraphNodeType_enum as CUgraphNodeType;pub use self::CUgraphDependencyType_enum as CUgraphDependencyType;pub use self::CUgraphInstantiateResult_enum as CUgraphInstantiateResult;pub use self::CUsynchronizationPolicy_enum as CUsynchronizationPolicy;pub use self::CUclusterSchedulingPolicy_enum as CUclusterSchedulingPolicy;pub use self::CUlaunchMemSyncDomain_enum as CUlaunchMemSyncDomain;pub use self::CUlaunchAttributePortableClusterMode_enum as CUlaunchAttributePortableClusterMode;pub use self::CUlaunchAttributeID_enum as CUlaunchAttributeID;pub use self::CUlaunchAttributeID as CUkernelNodeAttrID;pub use self::CUstreamCaptureStatus_enum as CUstreamCaptureStatus;pub use self::CUlaunchAttributeID as CUstreamAttrID;pub use self::CUstreamCaptureMode_enum as CUstreamCaptureMode;pub use self::CUdriverProcAddress_flags_enum as CUdriverProcAddress_flags;pub use self::CUdriverProcAddressQueryResult_enum as CUdriverProcAddressQueryResult;pub use self::CUexecAffinityType_enum as CUexecAffinityType;pub use self::CUcigDataType_enum as CUcigDataType;pub use self::CUstreamCigDataType_enum as CUstreamCigDataType;pub use self::CUlibraryOption_enum as CUlibraryOption;pub use self::cudaError_enum as CUresult;pub use self::CUdevice_P2PAttribute_enum as CUdevice_P2PAttribute;pub use self::CUresourceViewFormat_enum as CUresourceViewFormat;pub use self::CUtensorMapDataType_enum as CUtensorMapDataType;pub use self::CUtensorMapInterleave_enum as CUtensorMapInterleave;pub use self::CUtensorMapSwizzle_enum as CUtensorMapSwizzle;pub use self::CUtensorMapL2promotion_enum as CUtensorMapL2promotion;pub use self::CUtensorMapFloatOOBfill_enum as CUtensorMapFloatOOBfill;pub use self::CUtensorMapIm2ColWideMode_enum as CUtensorMapIm2ColWideMode;pub use self::CUDA_POINTER_ATTRIBUTE_ACCESS_FLAGS_enum as CUDA_POINTER_ATTRIBUTE_ACCESS_FLAGS;pub use self::CUexternalMemoryHandleType_enum as CUexternalMemoryHandleType;pub use self::CUexternalSemaphoreHandleType_enum as CUexternalSemaphoreHandleType;pub use self::CUmemAllocationHandleType_enum as CUmemAllocationHandleType;pub use self::CUmemAccess_flags_enum as CUmemAccess_flags;pub use self::CUmemLocationType_enum as CUmemLocationType;pub use self::CUmemAllocationType_enum as CUmemAllocationType;pub use self::CUmemAllocationGranularity_flags_enum as CUmemAllocationGranularity_flags;pub use self::CUmemRangeHandleType_enum as CUmemRangeHandleType;pub use self::CUmemRangeFlags_enum as CUmemRangeFlags;pub use self::CUarraySparseSubresourceType_enum as CUarraySparseSubresourceType;pub use self::CUmemOperationType_enum as CUmemOperationType;pub use self::CUmemHandleType_enum as CUmemHandleType;pub use self::CUmemAllocationCompType_enum as CUmemAllocationCompType;pub use self::CUmulticastGranularity_flags_enum as CUmulticastGranularity_flags;pub use self::CUgraphExecUpdateResult_enum as CUgraphExecUpdateResult;pub use self::CUmemPool_attribute_enum as CUmemPool_attribute;pub use self::CUmemcpyFlags_enum as CUmemcpyFlags;pub use self::CUmemcpySrcAccessOrder_enum as CUmemcpySrcAccessOrder;pub use self::CUmemcpy3DOperandType_enum as CUmemcpy3DOperandType;pub use self::CUgraphMem_attribute_enum as CUgraphMem_attribute;pub use self::CUgraphChildGraphNodeOwnership_enum as CUgraphChildGraphNodeOwnership;pub use self::CUflushGPUDirectRDMAWritesOptions_enum as CUflushGPUDirectRDMAWritesOptions;pub use self::CUGPUDirectRDMAWritesOrdering_enum as CUGPUDirectRDMAWritesOrdering;pub use self::CUflushGPUDirectRDMAWritesScope_enum as CUflushGPUDirectRDMAWritesScope;pub use self::CUflushGPUDirectRDMAWritesTarget_enum as CUflushGPUDirectRDMAWritesTarget;pub use self::CUgraphDebugDot_flags_enum as CUgraphDebugDot_flags;pub use self::CUuserObject_flags_enum as CUuserObject_flags;pub use self::CUuserObjectRetain_flags_enum as CUuserObjectRetain_flags;pub use self::CUgraphInstantiate_flags_enum as CUgraphInstantiate_flags;pub use self::CUdeviceNumaConfig_enum as CUdeviceNumaConfig;pub use self::CUprocessState_enum as CUprocessState;pub use self::CUmoduleLoadingMode_enum as CUmoduleLoadingMode;pub use self::CUmemDecompressAlgorithm_enum as CUmemDecompressAlgorithm;pub use self::CUcliqueType_enum as CUcliqueType;pub use self::CUlogicalEndpointIpcHandleType_enum as CUlogicalEndpointIpcHandleType;pub use self::CUlogicalEndpointType_enum as CUlogicalEndpointType;pub use self::CUlogicalEndpointFlag_enum as CUlogicalEndpointFlag;pub use self::CUgraphRecaptureStatus_enum as CUgraphRecaptureStatus;pub use self::CUfunctionLoadingState_enum as CUfunctionLoadingState;pub use self::CUcoredumpSettings_enum as CUcoredumpSettings;pub use self::CUlogLevel_enum as CUlogLevel;pub use self::cuArray3DCreate_v2 as cuArray3DCreate;pub use self::cuArray3DGetDescriptor_v2 as cuArray3DGetDescriptor;pub use self::cuArrayCreate_v2 as cuArrayCreate;pub use self::cuArrayGetDescriptor_v2 as cuArrayGetDescriptor;pub use self::cuCtxCreate_v4 as cuCtxCreate;pub use self::cuCtxDestroy_v2 as cuCtxDestroy;pub use self::cuCtxPopCurrent_v2 as cuCtxPopCurrent;pub use self::cuCtxPushCurrent_v2 as cuCtxPushCurrent;pub use self::cuDeviceGetUuid_v2 as cuDeviceGetUuid;pub use self::cuDevicePrimaryCtxRelease_v2 as cuDevicePrimaryCtxRelease;pub use self::cuDevicePrimaryCtxReset_v2 as cuDevicePrimaryCtxReset;pub use self::cuDevicePrimaryCtxSetFlags_v2 as cuDevicePrimaryCtxSetFlags;pub use self::cuDeviceTotalMem_v2 as cuDeviceTotalMem;pub use self::cuEventDestroy_v2 as cuEventDestroy;pub use self::cuEventElapsedTime_v2 as cuEventElapsedTime;pub use self::cuGetProcAddress_v2 as cuGetProcAddress;pub use self::cuGraphAddDependencies_v2 as cuGraphAddDependencies;pub use self::cuGraphAddKernelNode_v2 as cuGraphAddKernelNode;pub use self::cuGraphAddNode_v2 as cuGraphAddNode;pub use self::cuGraphExecKernelNodeSetParams_v2 as cuGraphExecKernelNodeSetParams;pub use self::cuGraphExecUpdate_v2 as cuGraphExecUpdate;pub use self::cuGraphGetEdges_v2 as cuGraphGetEdges;pub use self::cuGraphKernelNodeGetParams_v2 as cuGraphKernelNodeGetParams;pub use self::cuGraphKernelNodeSetParams_v2 as cuGraphKernelNodeSetParams;pub use self::cuGraphNodeGetDependencies_v2 as cuGraphNodeGetDependencies;pub use self::cuGraphNodeGetDependentNodes_v2 as cuGraphNodeGetDependentNodes;pub use self::cuGraphRemoveDependencies_v2 as cuGraphRemoveDependencies;pub use self::cuGraphicsResourceGetMappedPointer_v2 as cuGraphicsResourceGetMappedPointer;pub use self::cuGraphicsResourceSetMapFlags_v2 as cuGraphicsResourceSetMapFlags;pub use self::cuIpcOpenMemHandle_v2 as cuIpcOpenMemHandle;pub use self::cuLinkAddData_v2 as cuLinkAddData;pub use self::cuLinkAddFile_v2 as cuLinkAddFile;pub use self::cuLinkCreate_v2 as cuLinkCreate;pub use self::cuMemAdvise_v2 as cuMemAdvise;pub use self::cuMemAlloc_v2 as cuMemAlloc;pub use self::cuMemAllocHost_v2 as cuMemAllocHost;pub use self::cuMemAllocPitch_v2 as cuMemAllocPitch;pub use self::cuMemFree_v2 as cuMemFree;pub use self::cuMemGetAddressRange_v2 as cuMemGetAddressRange;pub use self::cuMemGetInfo_v2 as cuMemGetInfo;pub use self::cuMemHostGetDevicePointer_v2 as cuMemHostGetDevicePointer;pub use self::cuMemHostRegister_v2 as cuMemHostRegister;pub use self::cuMemPrefetchAsync_v2 as cuMemPrefetchAsync;pub use self::cuMemcpy2D_v2 as cuMemcpy2D;pub use self::cuMemcpy2DAsync_v2 as cuMemcpy2DAsync;pub use self::cuMemcpy2DUnaligned_v2 as cuMemcpy2DUnaligned;pub use self::cuMemcpy3D_v2 as cuMemcpy3D;pub use self::cuMemcpy3DAsync_v2 as cuMemcpy3DAsync;pub use self::cuMemcpy3DBatchAsync_v2 as cuMemcpy3DBatchAsync;pub use self::cuMemcpyAtoA_v2 as cuMemcpyAtoA;pub use self::cuMemcpyAtoD_v2 as cuMemcpyAtoD;pub use self::cuMemcpyAtoH_v2 as cuMemcpyAtoH;pub use self::cuMemcpyAtoHAsync_v2 as cuMemcpyAtoHAsync;pub use self::cuMemcpyBatchAsync_v2 as cuMemcpyBatchAsync;pub use self::cuMemcpyDtoA_v2 as cuMemcpyDtoA;pub use self::cuMemcpyDtoD_v2 as cuMemcpyDtoD;pub use self::cuMemcpyDtoDAsync_v2 as cuMemcpyDtoDAsync;pub use self::cuMemcpyDtoH_v2 as cuMemcpyDtoH;pub use self::cuMemcpyDtoHAsync_v2 as cuMemcpyDtoHAsync;pub use self::cuMemcpyHtoA_v2 as cuMemcpyHtoA;pub use self::cuMemcpyHtoAAsync_v2 as cuMemcpyHtoAAsync;pub use self::cuMemcpyHtoD_v2 as cuMemcpyHtoD;pub use self::cuMemcpyHtoDAsync_v2 as cuMemcpyHtoDAsync;pub use self::cuMemsetD2D8_v2 as cuMemsetD2D8;pub use self::cuMemsetD2D16_v2 as cuMemsetD2D16;pub use self::cuMemsetD2D32_v2 as cuMemsetD2D32;pub use self::cuMemsetD8_v2 as cuMemsetD8;pub use self::cuMemsetD16_v2 as cuMemsetD16;pub use self::cuMemsetD32_v2 as cuMemsetD32;pub use self::cuModuleGetGlobal_v2 as cuModuleGetGlobal;pub use self::cuStreamBatchMemOp_v2 as cuStreamBatchMemOp;pub use self::cuStreamBeginCapture_v2 as cuStreamBeginCapture;pub use self::cuStreamDestroy_v2 as cuStreamDestroy;pub use self::cuStreamGetCaptureInfo_v3 as cuStreamGetCaptureInfo;pub use self::cuStreamUpdateCaptureDependencies_v2 as cuStreamUpdateCaptureDependencies;pub use self::cuStreamWaitValue32_v2 as cuStreamWaitValue32;pub use self::cuStreamWaitValue64_v2 as cuStreamWaitValue64;pub use self::cuStreamWriteValue32_v2 as cuStreamWriteValue32;pub use self::cuStreamWriteValue64_v2 as cuStreamWriteValue64;pub use self::cuTexRefSetAddress2D_v3 as cuTexRefSetAddress2D;Deprecated
Structs§
- CUCoredump
Generation Flags - Flags for controlling coredump contents.
- CUDA_
ARRA Y3D_ DESCRIPTOR_ st - 3D array descriptor.
- CUDA_
ARRAY_ DESCRIPTOR_ st - Array descriptor.
- CUDA_
ARRAY_ MEMORY_ REQUIREMENTS_ st - CUDA array memory requirements.
- CUDA_
ARRAY_ SPARSE_ PROPERTIES_ st - CUDA array sparse properties.
- CUDA_
ARRAY_ SPARSE_ PROPERTIES_ st__ bindgen_ ty_ 1 - Native layout of the
tileExtentmember ofCUDA_ARRAY_SPARSE_PROPERTIES_st. - CUDA_
BATCH_ MEM_ OP_ NODE_ PARAMS_ v1_ st - Batch memory operation node parameters.
- CUDA_
BATCH_ MEM_ OP_ NODE_ PARAMS_ v2_ st - Batch memory operation node parameters.
- CUDA_
CHILD_ GRAPH_ NODE_ PARAMS_ st - Child graph node parameters.
- CUDA_
CONDITIONAL_ NODE_ PARAMS - Conditional node parameters.
- CUDA_
EVENT_ RECORD_ NODE_ PARAMS_ st - Event record node parameters.
- CUDA_
EVENT_ WAIT_ NODE_ PARAMS_ st - Event wait node parameters.
- CUDA_
EXTERNAL_ MEMORY_ BUFFER_ DESC_ st - External memory buffer descriptor.
- CUDA_
EXTERNAL_ MEMORY_ HANDLE_ DESC_ st - External memory handle descriptor.
- CUDA_
EXTERNAL_ MEMORY_ HANDLE_ DESC_ st__ bindgen_ ty_ 1__ bindgen_ ty_ 1 - Win32 handle referencing the semaphore object. Valid when type is one of the following:
- CUDA_
EXTERNAL_ MEMORY_ MIPMAPPED_ ARRAY_ DESC_ st - External memory mipmap descriptor.
- CUDA_
EXTERNAL_ SEMAPHORE_ HANDLE_ DESC_ st - External semaphore handle descriptor.
- CUDA_
EXTERNAL_ SEMAPHORE_ HANDLE_ DESC_ st__ bindgen_ ty_ 1__ bindgen_ ty_ 1 - Win32 handle referencing the semaphore object. Valid when type is one of the following:
- CUDA_
EXTERNAL_ SEMAPHORE_ SIGNAL_ PARAMS_ st - External semaphore signal parameters.
- CUDA_
EXTERNAL_ SEMAPHORE_ SIGNAL_ PARAMS_ st__ bindgen_ ty_ 1 - Native layout of the
paramsmember ofCUDA_EXTERNAL_SEMAPHORE_SIGNAL_PARAMS_st. - CUDA_
EXTERNAL_ SEMAPHORE_ SIGNAL_ PARAMS_ st__ bindgen_ ty_ 1__ bindgen_ ty_ 1 - Parameters for fence objects
- CUDA_
EXTERNAL_ SEMAPHORE_ SIGNAL_ PARAMS_ st__ bindgen_ ty_ 1__ bindgen_ ty_ 3 - Parameters for keyed mutex objects
- CUDA_
EXTERNAL_ SEMAPHORE_ WAIT_ PARAMS_ st - External semaphore wait parameters.
- CUDA_
EXTERNAL_ SEMAPHORE_ WAIT_ PARAMS_ st__ bindgen_ ty_ 1 - Native layout of the
paramsmember ofCUDA_EXTERNAL_SEMAPHORE_WAIT_PARAMS_st. - CUDA_
EXTERNAL_ SEMAPHORE_ WAIT_ PARAMS_ st__ bindgen_ ty_ 1__ bindgen_ ty_ 1 - Parameters for fence objects
- CUDA_
EXTERNAL_ SEMAPHORE_ WAIT_ PARAMS_ st__ bindgen_ ty_ 1__ bindgen_ ty_ 3 - Parameters for keyed mutex objects
- CUDA_
EXT_ SEM_ SIGNAL_ NODE_ PARAMS_ st - Semaphore signal node parameters.
- CUDA_
EXT_ SEM_ SIGNAL_ NODE_ PARAMS_ v2_ st - Semaphore signal node parameters.
- CUDA_
EXT_ SEM_ WAIT_ NODE_ PARAMS_ st - Semaphore wait node parameters.
- CUDA_
EXT_ SEM_ WAIT_ NODE_ PARAMS_ v2_ st - Semaphore wait node parameters.
- CUDA_
GRAPH_ INSTANTIATE_ PARAMS_ st - Graph instantiation parameters.
- CUDA_
HOST_ NODE_ PARAMS_ st - Host node parameters.
- CUDA_
HOST_ NODE_ PARAMS_ v2_ st - Host node parameters.
- CUDA_
KERNEL_ NODE_ PARAMS_ st - GPU kernel node parameters.
- CUDA_
KERNEL_ NODE_ PARAMS_ v2_ st - GPU kernel node parameters.
- CUDA_
KERNEL_ NODE_ PARAMS_ v3_ st - GPU kernel node parameters.
- CUDA_
LAUNCH_ PARAMS_ st - Kernel launch parameters.
- CUDA_
MEMCP Y2D_ st - 2D memory copy parameters.
- CUDA_
MEMCP Y3D_ BATCH_ OP_ st - One source, destination, extent, and access-order specification in a batched three-dimensional copy.
- CUDA_
MEMCP Y3D_ PEER_ st - 3D memory cross-context copy parameters.
- CUDA_
MEMCP Y3D_ st - 3D memory copy parameters.
- CUDA_
MEMCPY_ NODE_ PARAMS_ st - Memcpy node parameters.
- CUDA_
MEMSET_ NODE_ PARAMS_ st - Memset node parameters.
- CUDA_
MEMSET_ NODE_ PARAMS_ v2_ st - Memset node parameters.
- CUDA_
MEM_ ALLOC_ NODE_ PARAMS_ v1_ st - Memory allocation node parameters.
- CUDA_
MEM_ ALLOC_ NODE_ PARAMS_ v2_ st - Memory allocation node parameters.
- CUDA_
MEM_ FREE_ NODE_ PARAMS_ st - Memory free node parameters.
- CUDA_
POINTER_ ATTRIBUTE_ ACCESS_ FLAGS_ enum - Access flags that specify the level of access the current context’s device has on the memory referenced.
- CUDA_
POINTER_ ATTRIBUTE_ P2P_ TOKENS_ st - GPU Direct v3 tokens.
- CUDA_
RESOURCE_ DESC_ st - CUDA Resource descriptor.
- CUDA_
RESOURCE_ DESC_ st__ bindgen_ ty_ 1__ bindgen_ ty_ 1 - Native layout of the
arraymember ofCUDA_RESOURCE_DESC_st__bindgen_ty_1. - CUDA_
RESOURCE_ DESC_ st__ bindgen_ ty_ 1__ bindgen_ ty_ 2 - Native layout of the
mipmapmember ofCUDA_RESOURCE_DESC_st__bindgen_ty_1. - CUDA_
RESOURCE_ DESC_ st__ bindgen_ ty_ 1__ bindgen_ ty_ 3 - Native layout of the
linearmember ofCUDA_RESOURCE_DESC_st__bindgen_ty_1. - CUDA_
RESOURCE_ DESC_ st__ bindgen_ ty_ 1__ bindgen_ ty_ 4 - Native layout of the
pitch2Dmember ofCUDA_RESOURCE_DESC_st__bindgen_ty_1. - CUDA_
RESOURCE_ DESC_ st__ bindgen_ ty_ 1__ bindgen_ ty_ 5 - Native layout of the
reservedmember ofCUDA_RESOURCE_DESC_st__bindgen_ty_1. - CUDA_
RESOURCE_ VIEW_ DESC_ st - Resource view descriptor.
- CUDA_
TEXTURE_ DESC_ st - Texture descriptor.
- CUGPU
DirectRDMA Writes Ordering_ enum - Platform native ordering for GPUDirect RDMA writes.
- CUIcheckpoint
Operation_ st - Incomplete native type used by
CUcheckpointOperationHandlehandles. The native API owns its layout. - CU_
DEV_ SM_ RESOURCE_ GROUP_ PARAMS_ st - Input data for splitting SMs.
- CUaccess
Policy Window_ st - Specifies an access policy for a window, a contiguous extent of memory beginning at base_ptr and ending at base_ptr + num_bytes.
- CUaccess
Property_ enum - Specifies performance hint with
CUaccessPolicyWindowfor hitProp and missProp members. - CUaddress_
mode_ enum - Texture reference addressing modes.
- CUarray
MapInfo_ st - Specifies the CUDA array or CUDA mipmapped array memory mapping information.
- CUarray
MapInfo_ st__ bindgen_ ty_ 2__ bindgen_ ty_ 1 - Native layout of the
sparseLevelmember ofCUarrayMapInfo_st__bindgen_ty_2. - CUarray
MapInfo_ st__ bindgen_ ty_ 2__ bindgen_ ty_ 2 - Native layout of the
miptailmember ofCUarrayMapInfo_st__bindgen_ty_2. - CUarray
Sparse Subresource Type_ enum - Sparse subresource types.
- CUarray_
cubemap_ face_ enum - Array indices for cube faces.
- CUarray_
format_ enum - Array formats.
- CUarray_
st - Incomplete native type used by
CUarrayhandles. The native API owns its layout. - CUasync
Callback Entry_ st - Incomplete native type used by
CUasyncCallbackHandlehandles. The native API owns its layout. - CUasync
Notification Info_ st - Information passed to the user via the async notification callback.
- CUasync
Notification Info_ st__ bindgen_ ty_ 1__ bindgen_ ty_ 1 - Native layout of the
overBudgetmember ofCUasyncNotificationInfo_st__bindgen_ty_1. - CUasync
Notification Type_ enum - Types of async notification that can be sent.
- CUatomic
Operation Capability_ enum - CUDA-valid Atomic Operation capabilities.
- CUatomic
Operation_ enum - CUDA-valid Atomic Operations.
- CUcheckpoint
Checkpoint Args_ st - CUDA checkpoint optional checkpoint arguments.
- CUcheckpoint
Custom Storage Info_ st - Output from CUDA custom storage checkpoint/restore: per-GPU device pointers and a handle to complete the operation.
- CUcheckpoint
Custom Storage PerDevice Data_ st - Per-GPU data for zero-copy mapped device memory used with CUDA checkpoint/restore on custom storage.
- CUcheckpoint
GpuPair_ st - CUDA checkpoint GPU UUID pairs for device remapping during restore.
- CUcheckpoint
Lock Args_ st - CUDA checkpoint optional lock arguments.
- CUcheckpoint
Restore Args_ st - CUDA checkpoint optional restore arguments.
- CUcheckpoint
Unlock Args_ st - CUDA checkpoint optional unlock arguments.
- CUcig
Data Type_ enum - Graphics-client handle representation supplied when creating a CUDA-in-Graphics context.
- CUclique
Info_ st - Fabric clique information.
- CUclique
Type_ enum - Fabric clique types.
- CUcluster
Scheduling Policy_ enum - Cluster scheduling policies.
- CUcomputemode_
enum - Compute Modes.
- CUcoredump
Callback Entry_ st - Incomplete native type used by
CUcoredumpCallbackHandlehandles. The native API owns its layout. - CUcoredump
Settings_ enum - Flags for choosing a coredump attribute to get/set.
- CUctx
CigParam_ st - CIG Context Create Params.
- CUctx
Create Params_ st - Params for creating CUDA context.
- CUctx_
flags_ enum - Context creation flags.
- CUctx_
st - Incomplete native type used by
CUcontexthandles. The native API owns its layout. - CUdev
Resource Desc_ st - Incomplete native type used by
CUdevResourceDeschandles. The native API owns its layout. - CUdev
Resource Type - Type of resource.
- CUdev
Resource_ st - A tagged union describing different resources identified by the type field. This structure should not be directly modified outside of the API that created it.
- CUdev
SmResource Group_ flags - Flags for a
CUdevSmResourcegroup. - CUdev
SmResource Split ByCount_ flags - Flags controlling SM-resource partition granularity and supported thread-block cluster sizes.
- CUdev
SmResource_ st - Data for SM-related resources All parameters in this structure are OUTPUT only. Do not write to any of the fields in this structure.
- CUdev
Workqueue Config Resource_ st - Data for workqueue configuration related resources.
- CUdev
Workqueue Config Scope - Sharing scope for workqueues.
- CUdev
Workqueue Resource_ st - Handle to a pre-existing workqueue related resource.
- CUdevice
Numa Config_ enum - CUDA device NUMA configuration.
- CUdevice_
P2PAttribute_ enum - P2P Attributes.
- CUdevice_
attribute_ enum - Device properties.
- CUdevprop_
st - Legacy device properties.
- CUdriver
Proc Address Query Result_ enum - Flags to indicate search status.
- CUdriver
Proc Address_ flags_ enum - Flags to specify search options.
- CUevent_
flags_ enum - Event creation flags.
- CUevent_
record_ flags_ enum - Event record flags.
- CUevent_
sched_ flags_ enum - Event sched flags.
- CUevent_
st - Incomplete CUDA event object. CUDA owns its native representation; use a CUDA event handle to access it.
- CUevent_
wait_ flags_ enum - Event wait flags.
- CUexec
Affinity Param_ st - Execution Affinity Parameters.
- CUexec
Affinity SmCount_ st - Value for
CUexecAffinityType_enum::CU_EXEC_AFFINITY_TYPE_SM_COUNT. - CUexec
Affinity Type_ enum - Execution Affinity Types.
- CUext
Memory_ st - Incomplete native type used by
CUexternalMemoryhandles. The native API owns its layout. - CUext
Semaphore_ st - Incomplete native type used by
CUexternalSemaphorehandles. The native API owns its layout. - CUextent3D_
st - Struct representing width/height/depth of a CUarray in elements.
- CUexternal
Memory Handle Type_ enum - External memory handle types.
- CUexternal
Semaphore Handle Type_ enum - External semaphore handle types.
- CUfilter_
mode_ enum - Texture reference filtering modes.
- CUflushGPU
DirectRDMA Writes Options_ enum - Bitmasks for
CUdevice_attribute_enum::CU_DEVICE_ATTRIBUTE_GPU_DIRECT_RDMA_FLUSH_WRITES_OPTIONS. - CUflushGPU
DirectRDMA Writes Scope_ enum - The scopes for
cuFlushGPUDirectRDMAWrites. - CUflushGPU
DirectRDMA Writes Target_ enum - The targets for
cuFlushGPUDirectRDMAWrites. - CUfunc_
cache_ enum - Function cache configurations.
- CUfunc_
st - Incomplete native type used by
CUfunctionhandles. The native API owns its layout. - CUfunction
Loading State_ enum - Whether the native code for a CUDA function has been loaded onto the device.
- CUfunction_
attribute_ enum - Function properties.
- CUgraph
Child Graph Node Ownership_ enum - Child graph node ownership.
- CUgraph
Conditional Node Type_ enum - Conditional node types.
- CUgraph
Debug Dot_ flags_ enum - The additional write options for
cuGraphDebugDotPrint. - CUgraph
Dependency Type_ enum - Type annotations that can be applied to graph edges as part of
CUgraphEdgeData. - CUgraph
Device Updatable Node_ st - Incomplete native type used by
CUgraphDeviceNodehandles. The native API owns its layout. - CUgraph
Edge Data_ st - Optional annotation for edges in a CUDA graph.
- CUgraph
Exec Update Result Info_ st - Result information returned by cuGraphExecUpdate.
- CUgraph
Exec Update Result_ enum - CUDA Graph Update error types.
- CUgraph
Exec_ st - Incomplete native type used by
CUgraphExechandles. The native API owns its layout. - CUgraph
Instantiate Result_ enum - Graph instantiation results.
- CUgraph
Instantiate_ flags_ enum - Flags for instantiating a graph.
- CUgraph
Mem_ attribute_ enum - Device-level accounting and limits for memory allocated by CUDA graphs.
- CUgraph
Node Params_ st - Graph node parameters.
- CUgraph
Node Type_ enum - Graph node types.
- CUgraph
Node_ st - Incomplete native type used by
CUgraphNodehandles. The native API owns its layout. - CUgraph
Recapture Status_ enum - Whether a recaptured node can update an existing executable graph, or encountered an error.
- CUgraph_
st - Incomplete CUDA graph type. Graph creation and destruction are provided by the CUDA API.
- CUgraphics
MapResource Flags_ enum - Flags for mapping and unmapping interop resources.
- CUgraphics
Register Flags_ enum - Flags to register a graphics resource.
- CUgraphics
Resource_ st - Incomplete native type used by
CUgraphicsResourcehandles. The native API owns its layout. - CUgreen
CtxCreate_ flags - Flags for green context creation.
- CUgreen
Ctx_ st - Incomplete native type used by
CUgreenCtxhandles. The native API owns its layout. - CUhost
Task Sync Mode_ enum - Host task synchronization mode
- CUipc
Event Handle_ st - CUDA IPC event handle.
- CUipc
MemHandle_ st - CUDA IPC mem handle.
- CUipc
Mem_ flags_ enum - CUDA Ipc Mem Flags.
- CUjit
Input Type_ enum - Device code formats.
- CUjit_
cache Mode_ enum - Caching modes for dlcm.
- CUjit_
fallback_ enum - Cubin matching fallback strategies.
- CUjit_
option_ enum - Online compiler and linker options.
- CUjit_
target_ enum - Online compilation targets.
- CUkern_
st - Incomplete native type used by
CUkernelhandles. The native API owns its layout. - CUlaunch
AttributeID_ enum - Launch attributes enum; used as id field of
CUlaunchAttribute. - CUlaunch
Attribute Portable Cluster Mode_ enum - Enum for defining applicability of portable cluster size, used with
cuLaunchKernelEx. - CUlaunch
Attribute Value_ union__ bindgen_ ty_ 1 - Value of launch attribute
CUlaunchAttributeID_enum::CU_LAUNCH_ATTRIBUTE_CLUSTER_DIMENSIONthat represents the desired cluster dimensions for the kernel. Opaque type with the following fields: - CUlaunch
Attribute Value_ union__ bindgen_ ty_ 2 - Value of launch attribute
CUlaunchAttributeID_enum::CU_LAUNCH_ATTRIBUTE_PROGRAMMATIC_EVENTwith the following fields: - CUlaunch
Attribute Value_ union__ bindgen_ ty_ 3 - Value of launch attribute
CUlaunchAttributeID_enum::CU_LAUNCH_ATTRIBUTE_LAUNCH_COMPLETION_EVENTwith the following fields: - CUlaunch
Attribute Value_ union__ bindgen_ ty_ 4 - Value of launch attribute
CUlaunchAttributeID_enum::CU_LAUNCH_ATTRIBUTE_PREFERRED_CLUSTER_DIMENSIONthat represents the desired preferred cluster dimensions for the kernel. Opaque type with the following fields: - CUlaunch
Attribute Value_ union__ bindgen_ ty_ 5 - Value of launch attribute
CUlaunchAttributeID_enum::CU_LAUNCH_ATTRIBUTE_DEVICE_UPDATABLE_KERNEL_NODE. with the following fields: - CUlaunch
Attribute_ st - Launch attribute.
- CUlaunch
Config_ st - CUDA extensible launch configuration.
- CUlaunch
MemSync Domain Map_ st - Memory Synchronization Domain map.
- CUlaunch
MemSync Domain_ enum - Memory Synchronization Domain.
- CUlib_
st - Incomplete native type used by
CUlibraryhandles. The native API owns its layout. - CUlibrary
Host Universal Function AndData Table_ st - Host-side function and data tables supplied through
CUlibraryOption_enum::CU_LIBRARY_HOST_UNIVERSAL_FUNCTION_AND_DATA_TABLE. - CUlibrary
Option_ enum - Library options to be specified with
cuLibraryLoadDataorcuLibraryLoadFromFile. - CUlimit_
enum - Limits.
- CUlink
State_ st - Incomplete native type used by
CUlinkStatehandles. The native API owns its layout. - CUlog
Level_ enum - MANBRIEF error log management functions for the low-level CUDA API (CURRENT_FILE) ENDMANBRIEF
- CUlogical
Endpoint Fabric Handle_ st - Fabric handle for a logical endpoint.
- CUlogical
Endpoint Flag_ enum - Flags for
CUlogicalEndpointProp. - CUlogical
Endpoint IpcHandle Type_ enum - IPC handle types that can be requested/queried for a given logical endpoint.
- CUlogical
Endpoint Prop_ struct - Properties of a logical endpoint construction.
- CUlogical
Endpoint Prop_ struct__ bindgen_ ty_ 1__ bindgen_ ty_ 1 - Native layout of the
unicastmember ofCUlogicalEndpointProp_struct__bindgen_ty_1. - CUlogical
Endpoint Prop_ struct__ bindgen_ ty_ 1__ bindgen_ ty_ 2 - Native layout of the
multicastmember ofCUlogicalEndpointProp_struct__bindgen_ty_1. - CUlogical
Endpoint Type_ enum - Logical endpoint type.
- CUlogs
Callback Entry_ st - Incomplete native type used by
CUlogsCallbackHandlehandles. The native API owns its layout. - CUmem
Access Desc_ st - Memory access descriptor.
- CUmem
Access_ flags_ enum - Specifies the memory protection flags for mapping.
- CUmem
Allocation Comp Type_ enum - Specifies compression attribute for an allocation.
- CUmem
Allocation Granularity_ flags_ enum - Flag for requesting different optimal and required granularities for an allocation.
- CUmem
Allocation Handle Type_ enum - Flags for specifying particular handle types.
- CUmem
Allocation Prop_ st - Specifies the allocation properties for a allocation.
- CUmem
Allocation Prop_ st__ bindgen_ ty_ 1 - Native layout of the
allocFlagsmember ofCUmemAllocationProp_st. - CUmem
Allocation Type_ enum - Defines the allocation types available.
- CUmem
Attach_ flags_ enum - CUDA Mem Attach Flags.
- CUmem
Decompress Algorithm_ enum - Bitmasks for
CUdevice_attribute::CU_DEVICE_ATTRIBUTE_MEM_DECOMPRESS_ALGORITHM_MASK. - CUmem
Decompress Params_ st - Structure describing the parameters that compose a single decompression operation.
- CUmem
Fabric Handle_ st - Fabric handle - An opaque handle representing a memory allocation that can be exported to processes in same or different nodes.
- CUmem
Handle Type_ enum - Memory handle types.
- CUmem
Location Type_ enum - Specifies the type of location.
- CUmem
Location_ st - Specifies a memory location.
- CUmem
Location_ st__ bindgen_ ty_ 1__ bindgen_ ty_ 1 - Native layout of the
localizedmember ofCUmemLocation_st__bindgen_ty_1. - CUmem
Operation Type_ enum - Memory operation types.
- CUmem
Pool Handle_ st - Incomplete native type used by
CUmemoryPoolhandles. The native API owns its layout. - CUmem
Pool Props_ st - Specifies the properties of allocations made from the pool.
- CUmem
Pool PtrExport Data_ st - Opaque data for exporting a pool allocation.
- CUmem
Pool_ attribute_ enum - CUDA memory pool attributes.
- CUmem
Range Flags_ enum - Flag for requesting handle type for address range.
- CUmem
Range Handle Type_ enum - Specifies the handle type for address range.
- CUmem_
advise_ enum - Memory advise values.
- CUmem_
range_ attribute_ enum - Attribute queried for a managed-memory address range.
- CUmemcpy3D
Operand Type_ enum - These flags allow applications to convey the operand type for individual copies specified in cuMemcpy3DBatchAsync.
- CUmemcpy3D
Operand_ st - Struct representing an operand for copy with cuMemcpy3DBatchAsync.
- CUmemcpy3D
Operand_ st__ bindgen_ ty_ 1__ bindgen_ ty_ 1 - Struct representing an operand when
CUmemcpy3DOperand::type(CUmemcpy3DOperand_st::type_) isCUmemcpy3DOperandType_enum::CU_MEMCPY_OPERAND_TYPE_POINTER - CUmemcpy3D
Operand_ st__ bindgen_ ty_ 1__ bindgen_ ty_ 2 - Struct representing an operand when
CUmemcpy3DOperand::type(CUmemcpy3DOperand_st::type_) isCUmemcpy3DOperandType_enum::CU_MEMCPY_OPERAND_TYPE_ARRAY - CUmemcpy
Attributes_ st - Attributes specific to copies within a batch.
- CUmemcpy
Flags_ enum - Flags to specify for copies within a batch.
- CUmemcpy
SrcAccess Order_ enum - These flags allow applications to convey the source access ordering CUDA must maintain.
- CUmemorytype_
enum - Memory types.
- CUmipmapped
Array_ st - Incomplete native type used by
CUmipmappedArrayhandles. The native API owns its layout. - CUmod_
st - Incomplete native type used by
CUmodulehandles. The native API owns its layout. - CUmodule
Loading Mode_ enum - CUDA Lazy Loading status.
- CUmulticast
Granularity_ flags_ enum - Flags for querying different granularities for a multicast object.
- CUmulticast
Object Prop_ st - Specifies the properties for a multicast object.
- CUoccupancy_
flags_ enum - Occupancy calculator flag.
- CUoffset3D_
st - Struct representing a 3D offset.
- CUpointer_
attribute_ enum - Pointer information.
- CUprocess
State_ enum - CUDA Process States.
- CUresource
View Format_ enum - Resource view format.
- CUresourcetype_
enum - Resource types.
- CUshared
Memory Mode_ enum - Shared memory related attributes for use with
cuLaunchKernelEx. - CUshared_
carveout_ enum - Shared memory carveout configurations.
- CUsharedconfig_
enum Deprecated - Shared memory configurations.
- CUstream
Atomic Reduction Data Type_ enum - Atomic reduction data types for
CUstreamBatchMemOpParams::atomicReduction::dataType. - CUstream
Atomic Reduction OpType_ enum - Atomic reduction operation types for
CUstreamBatchMemOpParams::atomicReduction::reductionOp. - CUstream
Batch MemOp Params_ union_ CUstream MemOp Atomic Reduction Params_ st - Native layout of the
atomicReductionmember ofCUstreamBatchMemOpParams_union. - CUstream
Batch MemOp Params_ union_ CUstream MemOp Flush Remote Writes Params_ st - Native layout of the
flushRemoteWritesmember ofCUstreamBatchMemOpParams_union. - CUstream
Batch MemOp Params_ union_ CUstream MemOp Memory Barrier Params_ st - Native layout of the
memoryBarriermember ofCUstreamBatchMemOpParams_union. - CUstream
Batch MemOp Params_ union_ CUstream MemOp Wait Value Params_ st - Native layout of the
waitValuemember ofCUstreamBatchMemOpParams_union. - CUstream
Batch MemOp Params_ union_ CUstream MemOp Write Value Params_ st - Native layout of the
writeValuemember ofCUstreamBatchMemOpParams_union. - CUstream
Batch MemOp Type_ enum - Operations for cuStreamBatchMemOp.
- CUstream
Capture Mode_ enum - Possible modes for stream capture thread interactions.
- CUstream
Capture Status_ enum - Possible stream capture statuses returned by
cuStreamIsCapturing. - CUstream
CigCapture Params_ st - Params for capturing CUDA stream to CIG streamCigParams must be non-NULL.
- CUstream
CigData Type_ enum - Graphics-client command-list representation supplied for CUDA-in-Graphics stream capture.
- CUstream
CigParam_ st - CIG Stream Capture Params.
- CUstream
Memory Barrier_ flags_ enum - Flags for
CUstreamBatchMemOpParams::memoryBarrier. - CUstream
Update Capture Dependencies_ flags_ enum - Flags for cuStreamUpdateCaptureDependencies.
- CUstream
Wait Value_ flags_ enum - Flags for cuStreamWaitValue32 and cuStreamWaitValue64.
- CUstream
Write Value_ flags_ enum - Flags for cuStreamWriteValue32.
- CUstream_
flags_ enum - Stream creation flags.
- CUstream_
st - Incomplete CUDA driver stream type. Use a native stream handle; its layout is owned by the CUDA driver.
- CUsurfref_
st - Incomplete native type used by
CUsurfrefhandles. The native API owns its layout. - CUsynchronization
Policy_ enum - Policy used when synchronizing CUDA work.
- CUtensor
MapData Type_ enum - Tensor map data type.
- CUtensor
MapFloatOO Bfill_ enum - Tensor map out-of-bounds fill type.
- CUtensor
MapIm2 ColWide Mode_ enum - Tensor map Im2Col wide mode.
- CUtensor
MapInterleave_ enum - Tensor map interleave layout type.
- CUtensor
MapL2promotion_ enum - Tensor map L2 promotion type.
- CUtensor
MapSwizzle_ enum - Tensor map swizzling mode of shared memory banks.
- CUtensor
Map_ st - Tensor map descriptor.
- CUtexref_
st - Incomplete native type used by
CUtexrefhandles. The native API owns its layout. - CUuser
Object Retain_ flags_ enum - Flags for retaining user object references for graphs.
- CUuser
Object_ flags_ enum - Flags for user objects for graphs.
- CUuser
Object_ st - Incomplete native type used by
CUuserObjecthandles. The native API owns its layout. - CUuuid_
st - CUDA UUID stored as 16 bytes. The bytes are an identifier, not a null-terminated string.
- cuda
Error_ enum - CUDA Error types.
Constants§
- CUDA_
ARRA Y3D_ 2DARRAY Deprecated - use
CUDA_ARRAY3D_LAYERED. - CUDA_
ARRA Y3D_ COLOR_ ATTACHMENT - This flag indicates that the CUDA array may be bound as a color target in an external graphics API.
- CUDA_
ARRA Y3D_ CUBEMAP - If set, the CUDA array is a collection of six 2D arrays, representing faces of a cube.
- CUDA_
ARRA Y3D_ DEFERRED_ MAPPING - This flag if set indicates that the CUDA array or CUDA mipmapped array will allow deferred memory mapping.
- CUDA_
ARRA Y3D_ DEPTH_ TEXTURE - This flag if set indicates that the CUDA array is a DEPTH_TEXTURE.
- CUDA_
ARRA Y3D_ LAYERED - If set, the CUDA array is a collection of layers, where each layer is either a 1D or a 2D array and the Depth member of CUDA_ARRAY3D_DESCRIPTOR specifies the number of layers, not the depth of a 3D array.
- CUDA_
ARRA Y3D_ SPARSE - This flag if set indicates that the CUDA array or CUDA mipmapped array is a sparse CUDA array or CUDA mipmapped array respectively.
- CUDA_
ARRA Y3D_ SURFACE_ LDST - This flag must be set in order to bind a surface reference to the CUDA array.
- CUDA_
ARRA Y3D_ TEXTURE_ GATHER - This flag must be set in order to perform texture gather operations on a CUDA array.
- CUDA_
ARRA Y3D_ VIDEO_ ENCODE_ DECODE - This flag indicates that the CUDA array will be used for hardware accelerated video encode/decode operations.
- CUDA_
COOPERATIVE_ LAUNCH_ MULTI_ DEVICE_ NO_ POST_ LAUNCH_ SYNC - If set, any subsequent work pushed in a stream that participated in a call to
cuLaunchCooperativeKernelMultiDevicewill only wait for the kernel launched on the GPU corresponding to that stream to complete before it begins execution. - CUDA_
COOPERATIVE_ LAUNCH_ MULTI_ DEVICE_ NO_ PRE_ LAUNCH_ SYNC - If set, each kernel launched as part of
cuLaunchCooperativeKernelMultiDeviceonly waits for prior work in the stream corresponding to that GPU to complete before the kernel begins execution. - CUDA_
EXTERNAL_ MEMORY_ DEDICATED - Indicates that the external memory object is a dedicated resource.
- CUDA_
EXTERNAL_ SEMAPHORE_ SIGNAL_ SKIP_ NVSCIBUF_ MEMSYNC - When the
flagsparameter of CUDA_EXTERNAL_SEMAPHORE_SIGNAL_PARAMS contains this flag, it indicates that signaling an external semaphore object should skip performing appropriate memory synchronization operations over all the external memory objects that are imported asCUexternalMemoryHandleType_enum::CU_EXTERNAL_MEMORY_HANDLE_TYPE_NVSCIBUF, which otherwise are performed by default to ensure data coherency with other importers of the same NvSciBuf memory objects. - CUDA_
EXTERNAL_ SEMAPHORE_ WAIT_ SKIP_ NVSCIBUF_ MEMSYNC - When the
flagsparameter of CUDA_EXTERNAL_SEMAPHORE_WAIT_PARAMS contains this flag, it indicates that waiting on an external semaphore object should skip performing appropriate memory synchronization operations over all the external memory objects that are imported asCUexternalMemoryHandleType_enum::CU_EXTERNAL_MEMORY_HANDLE_TYPE_NVSCIBUF, which otherwise are performed by default to ensure data coherency with other importers of the same NvSciBuf memory objects. - CUDA_
NVSCISYNC_ ATTR_ SIGNAL - When
flagsofcuDeviceGetNvSciSyncAttributesis set to this, it indicates that application needs signaler specific NvSciSyncAttr to be filled bycuDeviceGetNvSciSyncAttributes. - CUDA_
NVSCISYNC_ ATTR_ WAIT - When
flagsofcuDeviceGetNvSciSyncAttributesis set to this, it indicates that application needs waiter specific NvSciSyncAttr to be filled bycuDeviceGetNvSciSyncAttributes. - CUDA_
VERSION - CUDA API version number.
- CU_
ARRAY_ SPARSE_ PROPERTIES_ SINGLE_ MIPTAIL - Indicates that the layered sparse CUDA array or CUDA mipmapped array has a single mip tail region for all layers.
- CU_
COMPUTE_ ACCELERATED_ TARGET_ BASE - Indicates that compute device class supports accelerated features.
- CU_
COMPUTE_ FAMILY_ TARGET_ BASE - Indicates that compute device class supports family features.
- CU_
GRAPH_ COND_ ASSIGN_ DEFAULT - Conditional node handle flags.
- CU_
GRAPH_ KERNEL_ NODE_ PORT_ DEFAULT - This port activates when the kernel has finished executing.
- CU_
GRAPH_ KERNEL_ NODE_ PORT_ LAUNCH_ ORDER - This port activates when all blocks of the kernel have begun execution.
- CU_
GRAPH_ KERNEL_ NODE_ PORT_ PROGRAMMATIC - This port activates when all blocks of the kernel have performed cudaTriggerProgrammaticLaunchCompletion() or have terminated.
- CU_
IPC_ HANDLE_ SIZE - CUDA IPC handle size.
- CU_
LAUNCH_ KERNEL_ REQUIRED_ BLOCK_ DIM - Launch with the required block dimension.
- CU_
LAUNCH_ PARAM_ BUFFER_ POINTER_ AS_ INT - C++ compile time constant for CU_LAUNCH_PARAM_BUFFER_POINTER.
- CU_
LAUNCH_ PARAM_ BUFFER_ SIZE_ AS_ INT - C++ compile time constant for CU_LAUNCH_PARAM_BUFFER_SIZE.
- CU_
LAUNCH_ PARAM_ END_ AS_ INT - C++ compile time constant for CU_LAUNCH_PARAM_END.
- CU_
MEMHOSTALLOC_ DEVICEMAP - If set, host memory is mapped into CUDA address space and cuMemHostGetDevicePointer() may be called on the host pointer.
- CU_
MEMHOSTALLOC_ PORTABLE - If set, host memory is portable between CUDA contexts.
- CU_
MEMHOSTALLOC_ WRITECOMBINED - If set, host memory is allocated as write-combined - fast to write, faster to DMA, slow to read except via SSE4 streaming load instruction (MOVNTDQA).
- CU_
MEMHOSTREGISTER_ DEVICEMAP - If set, host memory is mapped into CUDA address space and cuMemHostGetDevicePointer() may be called on the host pointer.
- CU_
MEMHOSTREGISTER_ IOMEMORY - If set, the passed memory pointer is treated as pointing to some memory-mapped I/O space, e.g.
- CU_
MEMHOSTREGISTER_ PORTABLE - If set, host memory is portable between CUDA contexts.
- CU_
MEMHOSTREGISTER_ READ_ ONLY - If set, the passed memory pointer is treated as pointing to memory that is considered read-only by the device.
- CU_
MEM_ CREATE_ USAGE_ GPU_ DIRECT_ RDMA_ OVER_ PCIE - Setting this flag forces GPUDirect RDMA on a locality-domain-localized allocation to use the PCIe (BAR1) path, allowing the allocation to remain locality-domain localized on platforms where the platform-coherent RDMA path does not support localized allocations.
- CU_
MEM_ CREATE_ USAGE_ HW_ DECOMPRESS - This flag, if set, indicates that the memory will be used as a buffer for hardware accelerated decompression.
- CU_
MEM_ CREATE_ USAGE_ TILE_ POOL - This flag if set indicates that the memory will be used as a tile pool.
- CU_
MEM_ POOL_ CREATE_ USAGE_ HW_ DECOMPRESS - This flag, if set, indicates that the memory will be used as a buffer for hardware accelerated decompression.
- CU_
PARAM_ TR_ DEFAULT - For texture references loaded into the module, use default texunit from texture reference.
- CU_
TENSOR_ MAP_ NUM_ QWORDS - Size of tensor map descriptor.
- CU_
TRSA_ OVERRIDE_ FORMAT - Override the texref format with a format inferred from the array.
- CU_
TRSF_ DISABLE_ TRILINEAR_ OPTIMIZATION - Disable any trilinear filtering optimizations.
- CU_
TRSF_ NORMALIZED_ COORDINATES - Use normalized texture coordinates in the range [0,1) instead of [0,dim).
- CU_
TRSF_ READ_ AS_ INTEGER - Read the texture as integers rather than promoting the values to floats in the range [0,1].
- CU_
TRSF_ SEAMLESS_ CUBEMAP - Enable seamless cube map filtering.
- CU_
TRSF_ SRGB - Perform sRGB->linear conversion during texture read.
Functions§
- cuArray3D
Create_ ⚠v2 - Creates a 3D CUDA array.
- cuArray3D
GetDescriptor_ ⚠v2 - Get a 3D CUDA array descriptor.
- cuArray
Create_ ⚠v2 - Creates a 1D or 2D CUDA array.
- cuArray
Destroy ⚠ - Destroys a CUDA array.
- cuArray
GetDescriptor_ ⚠v2 - Get a 1D or 2D CUDA array descriptor.
- cuArray
GetMemory ⚠Requirements - Returns the memory requirements of a CUDA array.
- cuArray
GetPlane ⚠ - Gets a CUDA array plane from a CUDA array.
- cuArray
GetSparse ⚠Properties - Returns the layout properties of a sparse CUDA array.
- cuCheckpoint
Operation ⚠Complete - Complete a custom-storage checkpoint or restore operation.
- cuCheckpoint
Process ⚠Checkpoint - Checkpoint a CUDA process’s GPU memory contents.
- cuCheckpoint
Process ⚠GetRestore Thread Id - Returns the restore thread ID for a CUDA process.
- cuCheckpoint
Process ⚠GetState - Returns the process state of a CUDA process.
- cuCheckpoint
Process ⚠Lock - Lock a running CUDA process.
- cuCheckpoint
Process ⚠Restore - Restore a CUDA process’s GPU memory contents from its last checkpoint.
- cuCheckpoint
Process ⚠Unlock - Unlock a CUDA process to allow CUDA API calls.
- cuCoredump
Deregister ⚠Complete Callback - Deregister a previously registered coredump complete callback.
- cuCoredump
Deregister ⚠Start Callback - Deregister a previously registered coredump start callback.
- cuCoredump
GetAttribute ⚠ - Allows caller to fetch a coredump attribute value for the current context.
- cuCoredump
GetAttribute ⚠Global - Allows caller to fetch a coredump attribute value for the entire application.
- cuCoredump
Register ⚠Complete Callback - Register a callback to be invoked when a GPU coredump completes.
- cuCoredump
Register ⚠Start Callback - Register a callback to be invoked when a GPU coredump begins.
- cuCoredump
SetAttribute ⚠ - Allows caller to set a coredump attribute value for the current context.
- cuCoredump
SetAttribute ⚠Global - Allows caller to set a coredump attribute value globally.
- cuCtx
Attach ⚠Deprecated - Increment a context’s usage-count.
- cuCtx
Create_ ⚠v4 - Create a CUDA context.
- cuCtx
Destroy_ ⚠v2 - Destroy a CUDA context.
- cuCtx
Detach ⚠Deprecated - Decrement a context’s usage-count.
- cuCtx
Disable ⚠Peer Access - Disables direct access to memory allocations in a peer context and unregisters any registered allocations.
- cuCtx
Enable ⚠Peer Access - Enables direct access to memory allocations in a peer context.
- cuCtx
From ⚠Green Ctx - Returns a
CUcontexthandle for a green context. - cuCtx
GetApi ⚠Version - Gets the context’s API version.
- cuCtx
GetCache ⚠Config - Returns the preferred cache configuration for the current context.
- cuCtx
GetCurrent ⚠ - Returns the CUDA context bound to the calling CPU thread.
- cuCtx
GetDev ⚠Resource - Get context resources.
- cuCtx
GetDevice ⚠ - Returns the device handle for the current context.
- cuCtx
GetDevice_ ⚠v2 - Returns the device handle for the specified context.
- cuCtx
GetExec ⚠Affinity - Returns the execution affinity setting for the current context.
- cuCtx
GetFlags ⚠ - Returns the flags for the current context.
- cuCtx
GetId ⚠ - Returns the unique Id associated with the context supplied.
- cuCtx
GetLimit ⚠ - Returns resource limits.
- cuCtx
GetShared ⚠MemConfig Deprecated - Returns the current shared memory configuration for the current context.
- cuCtx
GetStream ⚠Priority Range - Returns numerical values that correspond to the least and greatest stream priorities.
- cuCtx
PopCurrent_ ⚠v2 - Pops the current CUDA context from the current CPU thread.
- cuCtx
Push ⚠Current_ v2 - Pushes a context on the current CPU thread.
- cuCtx
Record ⚠Event - Records an event.
- cuCtx
Reset ⚠Persisting L2Cache - Resets all persisting lines in cache to normal status.
- cuCtx
SetCache ⚠Config - Sets the preferred cache configuration for the current context.
- cuCtx
SetCurrent ⚠ - Binds the specified CUDA context to the calling CPU thread.
- cuCtx
SetFlags ⚠ - Sets the flags for the current context.
- cuCtx
SetLimit ⚠ - Set resource limits.
- cuCtx
SetShared ⚠MemConfig Deprecated - Sets the shared memory configuration for the current context.
- cuCtx
Synchronize ⚠ - Block for the current context’s tasks to complete.
- cuCtx
Synchronize_ ⚠v2 - Block for the specified context’s tasks to complete.
- cuCtx
Wait ⚠Event - Make a context wait on an event.
- cuDestroy
External ⚠Memory - Destroys an external memory object.
- cuDestroy
External ⚠Semaphore - Destroys an external semaphore.
- cuDev
Resource ⚠Generate Desc - Generate a resource descriptor.
- cuDev
SmResource ⚠Split - Splits a
CUdevResourceType::CU_DEV_RESOURCE_TYPE_SMresource into structured groups. - cuDev
SmResource ⚠Split ByCount - Splits
CUdevResourceType::CU_DEV_RESOURCE_TYPE_SMresources. - cuDevice
CanAccess ⚠Peer - Queries if a device may directly access a peer device’s memory.
- cuDevice
Compute ⚠Capability Deprecated - Returns the compute capability of the device.
- cuDevice
Get ⚠ - Returns a handle to a compute device.
- cuDevice
GetAttribute ⚠ - Returns information about the device.
- cuDevice
GetByPCI ⚠BusId - Returns a handle to a compute device.
- cuDevice
GetClique ⚠Count - Retrieves the number of fabric cliques.
- cuDevice
GetClique ⚠Info - Retrieves fabric clique information.
- cuDevice
GetCount ⚠ - Returns the number of compute-capable devices.
- cuDevice
GetDefault ⚠MemPool - Returns the default mempool of a device.
- cuDevice
GetDev ⚠Resource - Get device resources.
- cuDevice
GetExec ⚠Affinity Support - Returns information about the execution affinity support of the device.
- cuDevice
GetFabric ⚠Cluster Uuid - Retrieves the fabric cluster UUID.
- cuDevice
GetGraph ⚠MemAttribute - Query asynchronous allocation attributes related to graphs.
- cuDevice
GetHost ⚠Atomic Capabilities - Queries details about atomic operations supported between the device and host.
- cuDevice
GetLuid ⚠ - Return an LUID and device node mask for the device.
- cuDevice
GetMem ⚠Pool - Gets the current mempool for a device.
- cuDevice
GetName ⚠ - Returns an identifier string for the device.
- cuDevice
GetNv ⚠SciSync Attributes - Return NvSciSync attributes that this device can support.
- cuDevice
GetP2P ⚠Atomic Capabilities - Queries details about atomic operations supported between two devices.
- cuDevice
GetP2P ⚠Attribute - Queries attributes of the link between two devices.
- cuDevice
GetPCI ⚠BusId - Returns a PCI Bus Id string for the device.
- cuDevice
GetProperties ⚠Deprecated - Returns properties for a selected device.
- cuDevice
GetTexture1D ⚠Linear MaxWidth - Returns the maximum number of elements allocatable in a 1D linear texture for a given texture element size.
- cuDevice
GetUuid_ ⚠v2 - Return an UUID for the device.
- cuDevice
Graph ⚠MemTrim - Free unused memory that was cached on the specified device for use with graphs back to the OS.
- cuDevice
Primary ⚠CtxGet State - Get the state of the primary context.
- cuDevice
Primary ⚠CtxRelease_ v2 - Release the primary context on the GPU.
- cuDevice
Primary ⚠CtxReset_ v2 - Destroy all allocations and reset all state on the primary context.
- cuDevice
Primary ⚠CtxRetain - Retain the primary context on the GPU.
- cuDevice
Primary ⚠CtxSet Flags_ v2 - Set flags for the primary context.
- cuDevice
Register ⚠Async Notification - Registers a callback function to receive async notifications.
- cuDevice
SetGraph ⚠MemAttribute - Set asynchronous allocation attributes related to graphs.
- cuDevice
SetMem ⚠Pool - Sets the current memory pool of a device.
- cuDevice
Total ⚠Mem_ v2 - Returns the total amount of memory on the device.
- cuDevice
Unregister ⚠Async Notification - Unregisters an async notification callback.
- cuDriver
GetVersion ⚠ - Returns the latest CUDA version supported by driver.
- cuEvent
Create ⚠ - Creates an event.
- cuEvent
Destroy_ ⚠v2 - Destroys an event.
- cuEvent
Elapsed ⚠Time_ v2 - Computes the elapsed time between two events.
- cuEvent
Query ⚠ - Queries an event’s status.
- cuEvent
Record ⚠ - Records an event.
- cuEvent
Record ⚠With Flags - Records an event.
- cuEvent
Synchronize ⚠ - Waits for an event to complete.
- cuExternal
Memory ⚠GetMapped Buffer - Maps a buffer onto an imported memory object.
- cuExternal
Memory ⚠GetMapped Mipmapped Array - Maps a CUDA mipmapped array onto an external memory object.
- cuFlushGPU
DirectRDMA ⚠Writes - Blocks until remote writes are visible to the specified scope.
- cuFunc
GetAttribute ⚠ - Returns information about a function.
- cuFunc
GetModule ⚠ - Returns a module handle.
- cuFunc
GetName ⚠ - Returns the function name for a
CUfunctionhandle. - cuFunc
GetParam ⚠Count - Returns the number of parameters used by the function.
- cuFunc
GetParam ⚠Info - Returns the offset and size of a kernel parameter in the device-side parameter layout.
- cuFunc
IsLoaded ⚠ - Returns if the function is loaded.
- cuFunc
Load ⚠ - Loads a function.
- cuFunc
SetAttribute ⚠ - Sets information about a function.
- cuFunc
SetBlock ⚠Shape Deprecated - Sets the block-dimensions for the function.
- cuFunc
SetCache ⚠Config - Sets the preferred cache configuration for a device function.
- cuFunc
SetShared ⚠MemConfig Deprecated - Sets the shared memory configuration for a device function.
- cuFunc
SetShared ⚠Size Deprecated - Sets the dynamic shared-memory size for the function.
- cuGet
Error ⚠Name - Gets the string representation of an error code enum name.
- cuGet
Error ⚠String - Gets the string description of an error code.
- cuGet
Export ⚠Table - Retrieves a driver export table identified by
pExportTableIdand writes its address toppExportTable. The table layout is defined by the interface associated with that identifier. Returns a CUDA driver status code. - cuGet
Proc ⚠Address_ v2 - Returns the requested driver API function pointer.
- cuGraph
AddBatch ⚠MemOp Node - Creates a batch memory operation node and adds it to a graph.
- cuGraph
AddChild ⚠Graph Node - Creates a child graph node and adds it to a graph.
- cuGraph
AddDependencies_ ⚠v2 - Adds dependency edges to a graph.
- cuGraph
AddEmpty ⚠Node - Creates an empty node and adds it to a graph.
- cuGraph
AddEvent ⚠Record Node - Creates an event record node and adds it to a graph.
- cuGraph
AddEvent ⚠Wait Node - Creates an event wait node and adds it to a graph.
- cuGraph
AddExternal ⚠Semaphores Signal Node - Creates an external semaphore signal node and adds it to a graph.
- cuGraph
AddExternal ⚠Semaphores Wait Node - Creates an external semaphore wait node and adds it to a graph.
- cuGraph
AddHost ⚠Node - Creates a host execution node and adds it to a graph.
- cuGraph
AddKernel ⚠Node_ v2 - Creates a kernel execution node and adds it to a graph.
- cuGraph
AddMem ⚠Alloc Node - Creates an allocation node and adds it to a graph.
- cuGraph
AddMem ⚠Free Node - Creates a memory free node and adds it to a graph.
- cuGraph
AddMemcpy ⚠Node - Creates a memcpy node and adds it to a graph.
- cuGraph
AddMemset ⚠Node - Creates a memset node and adds it to a graph.
- cuGraph
AddNode_ ⚠v2 - Adds a node of arbitrary type to a graph.
- cuGraph
AddNode_ ⚠v3 - Adds a node of arbitrary type to a graph.
- cuGraph
Batch ⚠MemOp Node GetParams - Returns a batch mem op node’s parameters.
- cuGraph
Batch ⚠MemOp Node SetParams - Sets a batch mem op node’s parameters.
- cuGraph
Child ⚠Graph Node GetGraph - Gets a handle to the embedded graph of a child graph node.
- cuGraph
Clone ⚠ - Clones a graph.
- cuGraph
Conditional ⚠Handle Create - Create a conditional handle.
- cuGraph
Create ⚠ - Creates a graph.
- cuGraph
Debug ⚠DotPrint - Write a DOT file describing graph structure.
- cuGraph
Destroy ⚠ - Destroys a graph.
- cuGraph
Destroy ⚠Node - Remove a node from the graph.
- cuGraph
Event ⚠Record Node GetEvent - Returns the event associated with an event record node.
- cuGraph
Event ⚠Record Node SetEvent - Sets an event record node’s event.
- cuGraph
Event ⚠Wait Node GetEvent - Returns the event associated with an event wait node.
- cuGraph
Event ⚠Wait Node SetEvent - Sets an event wait node’s event.
- cuGraph
Exec ⚠Batch MemOp Node SetParams - Sets the parameters for a batch mem op node in the given graphExec.
- cuGraph
Exec ⚠Child Graph Node SetParams - Updates node parameters in the child graph node in the given graphExec.
- cuGraph
Exec ⚠Destroy - Destroys an executable graph.
- cuGraph
Exec ⚠Event Record Node SetEvent - Sets the event for an event record node in the given graphExec.
- cuGraph
Exec ⚠Event Wait Node SetEvent - Sets the event for an event wait node in the given graphExec.
- cuGraph
Exec ⚠External Semaphores Signal Node SetParams - Sets the parameters for an external semaphore signal node in the given graphExec.
- cuGraph
Exec ⚠External Semaphores Wait Node SetParams - Sets the parameters for an external semaphore wait node in the given graphExec.
- cuGraph
Exec ⚠GetFlags - Query the instantiation flags of an executable graph.
- cuGraph
Exec ⚠GetId - Returns the id of a given graph exec.
- cuGraph
Exec ⚠Host Node SetParams - Sets the parameters for a host node in the given graphExec.
- cuGraph
Exec ⚠Kernel Node SetParams_ v2 - Sets the parameters for a kernel node in the given graphExec.
- cuGraph
Exec ⚠Memcpy Node SetParams - Sets the parameters for a memcpy node in the given graphExec.
- cuGraph
Exec ⚠Memset Node SetParams - Sets the parameters for a memset node in the given graphExec.
- cuGraph
Exec ⚠Node SetParams - Update a graph node’s parameters in an instantiated graph.
- cuGraph
Exec ⚠Update_ v2 - Check whether an executable graph can be updated with a graph and perform the update if possible.
- cuGraph
External ⚠Semaphores Signal Node GetParams - Returns an external semaphore signal node’s parameters.
- cuGraph
External ⚠Semaphores Signal Node SetParams - Sets an external semaphore signal node’s parameters.
- cuGraph
External ⚠Semaphores Wait Node GetParams - Returns an external semaphore wait node’s parameters.
- cuGraph
External ⚠Semaphores Wait Node SetParams - Sets an external semaphore wait node’s parameters.
- cuGraph
GetEdges_ ⚠v2 - Returns a graph’s dependency edges.
- cuGraph
GetId ⚠ - Returns the id of a given graph.
- cuGraph
GetNodes ⚠ - Returns a graph’s nodes.
- cuGraph
GetRoot ⚠Nodes - Returns a graph’s root nodes.
- cuGraph
Host ⚠Node GetParams - Returns a host node’s parameters.
- cuGraph
Host ⚠Node SetParams - Sets a host node’s parameters.
- cuGraph
Instantiate ⚠With Flags - Creates an executable graph from a graph
- cuGraph
Instantiate ⚠With Params - Creates an executable graph from a graph.
- cuGraph
Kernel ⚠Node Copy Attributes - Copies attributes from source node to destination node.
- cuGraph
Kernel ⚠Node GetAttribute - Queries node attribute.
- cuGraph
Kernel ⚠Node GetParams_ v2 - Returns a kernel node’s parameters.
- cuGraph
Kernel ⚠Node SetAttribute - Sets node attribute.
- cuGraph
Kernel ⚠Node SetParams_ v2 - Sets a kernel node’s parameters.
- cuGraph
Launch ⚠ - Launches an executable graph in a stream.
- cuGraph
MemAlloc ⚠Node GetParams - Returns a memory alloc node’s parameters.
- cuGraph
MemFree ⚠Node GetParams - Returns a memory free node’s parameters.
- cuGraph
Memcpy ⚠Node GetParams - Returns a memcpy node’s parameters.
- cuGraph
Memcpy ⚠Node SetParams - Sets a memcpy node’s parameters.
- cuGraph
Memset ⚠Node GetParams - Returns a memset node’s parameters.
- cuGraph
Memset ⚠Node SetParams - Sets a memset node’s parameters.
- cuGraph
Node ⚠Find InClone - Finds a cloned version of a node.
- cuGraph
Node ⚠GetContaining Graph - Returns the graph that contains a given graph node.
- cuGraph
Node ⚠GetDependencies_ v2 - Returns a node’s dependencies.
- cuGraph
Node ⚠GetDependent Nodes_ v2 - Returns a node’s dependent nodes.
- cuGraph
Node ⚠GetEnabled - Query whether a node in the given graphExec is enabled.
- cuGraph
Node ⚠GetLocal Id - Returns the local node id of a given graph node.
- cuGraph
Node ⚠GetParams - Return a graph node’s parameters.
- cuGraph
Node ⚠GetTools Id - Returns an id used by tools to identify a given node.
- cuGraph
Node ⚠GetType - Returns a node’s type.
- cuGraph
Node ⚠SetEnabled - Enables or disables the specified node in the given graphExec.
- cuGraph
Node ⚠SetParams - Update a graph node’s parameters.
- cuGraph
Node ⚠SetParams_ v2 - Update a graph node’s parameters.
- cuGraph
Release ⚠User Object - Release a user object reference from a graph.
- cuGraph
Remove ⚠Dependencies_ v2 - Removes dependency edges from a graph.
- cuGraph
Retain ⚠User Object - Retain a reference to a user object from a graph.
- cuGraph
Upload ⚠ - Uploads an executable graph in a stream.
- cuGraphics
MapResources ⚠ - Map graphics resources for access by CUDA.
- cuGraphics
Resource ⚠GetMapped Mipmapped Array - Get a mipmapped array through which to access a mapped graphics resource.
- cuGraphics
Resource ⚠GetMapped Pointer_ v2 - Get a device pointer through which to access a mapped graphics resource.
- cuGraphics
Resource ⚠SetMap Flags_ v2 - Set usage flags for mapping a graphics resource.
- cuGraphics
SubResource ⚠GetMapped Array - Get an array through which to access a subresource of a mapped graphics resource.
- cuGraphics
Unmap ⚠Resources - Unmap graphics resources.
- cuGraphics
Unregister ⚠Resource - Unregisters a graphics resource for access by CUDA.
- cuGreen
CtxCreate ⚠ - Creates a green context with a specified set of resources.
- cuGreen
CtxDestroy ⚠ - Destroys a green context.
- cuGreen
CtxGet ⚠DevResource - Get green context resources.
- cuGreen
CtxGet ⚠Id - Returns the unique Id associated with the green context supplied.
- cuGreen
CtxRecord ⚠Event - Records an event.
- cuGreen
CtxStream ⚠Create - Create a stream for use in the green context.
- cuGreen
CtxWait ⚠Event - Make a green context wait on an event.
- cuImport
External ⚠Memory - Imports an external memory object.
- cuImport
External ⚠Semaphore - Imports an external semaphore.
- cuInit⚠
- Initialize the CUDA driver API Initializes the driver API and must be called before any other function from the driver API in the current process.
- cuIpc
Close ⚠MemHandle - Attempts to close memory mapped with cuIpcOpenMemHandle.
- cuIpc
GetEvent ⚠Handle - Gets an interprocess handle for a previously allocated event.
- cuIpc
GetMem ⚠Handle - Gets an interprocess memory handle for an existing device memory allocation.
- cuIpc
Open ⚠Event Handle - Opens an interprocess event handle for use in the current process.
- cuIpc
Open ⚠MemHandle_ v2 - Opens an interprocess memory handle exported from another process and returns a device pointer usable in the local process.
- cuKernel
GetAttribute ⚠ - Returns information about a kernel.
- cuKernel
GetFunction ⚠ - Returns a function handle.
- cuKernel
GetLibrary ⚠ - Returns a library handle.
- cuKernel
GetName ⚠ - Returns the function name for a
CUkernelhandle. - cuKernel
GetParam ⚠Count - Returns the number of parameters used by the kernel.
- cuKernel
GetParam ⚠Info - Returns the offset and size of a kernel parameter in the device-side parameter layout.
- cuKernel
SetAttribute ⚠ - Sets information about a kernel.
- cuKernel
SetCache ⚠Config - Sets the preferred cache configuration for a device kernel.
- cuLaunch⚠
Deprecated - Launches a CUDA function.
- cuLaunch
Cooperative ⚠Kernel - Launches a CUDA function
CUfunctionor a CUDA kernelCUkernelwhere thread blocks can cooperate and synchronize as they execute. - cuLaunch
Cooperative ⚠Kernel Multi Device Deprecated - Launches CUDA functions on multiple devices where thread blocks can cooperate and synchronize as they execute.
- cuLaunch
Grid ⚠Deprecated - Launches a CUDA function.
- cuLaunch
Grid ⚠Async Deprecated - Launches a CUDA function.
- cuLaunch
Host ⚠Func - Enqueues a host function call in a stream.
- cuLaunch
Host ⚠Func_ v2 - Enqueues a host function call in a stream.
- cuLaunch
Kernel ⚠ - Launches a CUDA function
CUfunctionor a CUDA kernelCUkernel. - cuLaunch
Kernel ⚠Ex - Launches a CUDA function
CUfunctionor a CUDA kernelCUkernelwith launch-time configuration. - cuLibrary
Enumerate ⚠Kernels - Retrieve the kernel handles within a library.
- cuLibrary
GetGlobal ⚠ - Returns a global device pointer.
- cuLibrary
GetKernel ⚠ - Returns a kernel handle.
- cuLibrary
GetKernel ⚠Count - Returns the number of kernels within a library.
- cuLibrary
GetManaged ⚠ - Returns a pointer to managed memory.
- cuLibrary
GetModule ⚠ - Returns a module handle.
- cuLibrary
GetUnified ⚠Function - Returns a pointer to a unified function.
- cuLibrary
Load ⚠Data - Load a library with specified code and options.
- cuLibrary
Load ⚠From File - Load a library with specified file and options.
- cuLibrary
Unload ⚠ - Unloads a library.
- cuLink
AddData_ ⚠v2 - Add an input to a pending linker invocation.
- cuLink
AddFile_ ⚠v2 - Add a file input to a pending linker invocation.
- cuLink
Complete ⚠ - Complete a pending linker invocation.
- cuLink
Create_ ⚠v2 - Creates a pending JIT linker invocation.
- cuLink
Destroy ⚠ - Destroys state for a JIT linker invocation.
- cuLogical
Endpoint ⚠AddDevice - Associates a device to a multicast logical endpoint.
- cuLogical
Endpoint ⚠Bind Addr - Bind a memory allocation represented by a virtual address to a logical endpoint.
- cuLogical
Endpoint ⚠Bind Mem - Binds memory object represented by a handle to the logical endpoint.
- cuLogical
Endpoint ⚠Create - Creates a logical endpoint with the requested properties and associates it with the logical endpoint id.
- cuLogical
Endpoint ⚠Destroy - Removes the association of the logical endpoint from the logical endpoint id.
- cuLogical
Endpoint ⚠Export - Exports a logical endpoint associated with leId to an IPC handle.
- cuLogical
Endpoint ⚠GetLimits - Calculates the minimum alignment and the maximum size for the given logical endpoint properties.
- cuLogical
Endpoint ⚠IdRelease - Releases a range of logical endpoint ids.
- cuLogical
Endpoint ⚠IdReserve - Reserves a range of logical endpoint ids.
- cuLogical
Endpoint ⚠Import - Imports a logical endpoint from the given IPC handle and associates it with a logical endpoint id.
- cuLogical
Endpoint ⚠Query - Determines if all logical endpoints in the range have been successfully constructed.
- cuLogical
Endpoint ⚠Unbind - Unbinds any binding at offset from the logical endpoint.
- cuLogs
Current ⚠ - Sets log iterator to point to the end of log buffer, where the next message would be written.
- cuLogs
Dump ⚠ToFile - Dump accumulated driver logs into a file.
- cuLogs
Dump ⚠ToMemory - Dump accumulated driver logs into a buffer.
- cuLogs
Register ⚠Callback - Register a callback function to receive error log messages.
- cuLogs
Unregister ⚠Callback - Unregister a log message callback.
- cuMem
Address ⚠Free - Free an address range reservation.
- cuMem
Address ⚠Reserve - Allocate an address range reservation.
- cuMem
Advise_ ⚠v2 - Advise about the usage of a given memory range.
- cuMem
Alloc ⚠Async - Allocates memory with stream ordered semantics.
- cuMem
Alloc ⚠From Pool Async - Allocates memory from a specified pool with stream ordered semantics.
- cuMem
Alloc ⚠Host_ v2 - Allocates page-locked host memory.
- cuMem
Alloc ⚠Managed - Allocates memory that will be automatically managed by the Unified Memory system.
- cuMem
Alloc ⚠Pitch_ v2 - Allocates pitched device memory.
- cuMem
Alloc_ ⚠v2 - Allocates device memory.
- cuMem
Batch ⚠Decompress Async - Submit a batch of
countindependent decompression operations. - cuMem
Create ⚠ - Create a CUDA memory handle representing a memory allocation of a given size described by the given properties.
- cuMem
Discard ⚠AndPrefetch Batch Async - Performs a batch of memory discards and prefetches asynchronously.
- cuMem
Discard ⚠Batch Async - Performs a batch of memory discards asynchronously.
- cuMem
Export ⚠ToShareable Handle - Exports an allocation to a requested shareable handle type.
- cuMem
Free ⚠Async - Frees memory with stream ordered semantics.
- cuMem
Free ⚠Host - Frees page-locked host memory.
- cuMem
Free_ ⚠v2 - Frees device memory.
- cuMem
GetAccess ⚠ - Get the access
flagsset for the givenlocationandptr. - cuMem
GetAddress ⚠Range_ v2 - Get information on memory allocations.
- cuMem
GetAllocation ⚠Granularity - Calculates either the minimal or recommended granularity.
- cuMem
GetAllocation ⚠Properties From Handle - Retrieve the contents of the property structure defining properties for this handle.
- cuMem
GetDefault ⚠MemPool - Returns the default memory pool for a given location and allocation type.
- cuMem
GetHandle ⚠ForAddress Range - Retrieve handle for an address range.
- cuMem
GetInfo_ ⚠v2 - Gets free and total memory.
- cuMem
GetLocation ⚠Info - Gets residency information for a memory address range.
- cuMem
GetMem ⚠Pool - Gets the current memory pool for a memory location and of a particular allocation type.
- cuMem
Host ⚠Alloc - Allocates page-locked host memory.
- cuMem
Host ⚠GetDevice Pointer_ v2 - Passes back device pointer of mapped pinned memory.
- cuMem
Host ⚠GetFlags - Passes back flags that were used for a pinned allocation.
- cuMem
Host ⚠Register_ v2 - Registers an existing host memory range for use by CUDA.
- cuMem
Host ⚠Unregister - Unregisters a memory range that was registered with cuMemHostRegister.
- cuMem
Import ⚠From Shareable Handle - Imports an allocation from a requested shareable handle type.
- cuMem
Map ⚠ - Maps an allocation handle to a reserved virtual address range.
- cuMem
MapArray ⚠Async - Maps or unmaps subregions of sparse CUDA arrays and sparse CUDA mipmapped arrays.
- cuMem
Pool ⚠Create - Creates a memory pool.
- cuMem
Pool ⚠Destroy - Destroys the specified memory pool.
- cuMem
Pool ⚠Export Pointer - Export data to share a memory pool allocation between processes.
- cuMem
Pool ⚠Export ToShareable Handle - Exports a memory pool to the requested handle type.
- cuMem
Pool ⚠GetAccess - Returns the accessibility of a pool from a device.
- cuMem
Pool ⚠GetAttribute - Gets attributes of a memory pool.
- cuMem
Pool ⚠Import From Shareable Handle - imports a memory pool from a shared handle.
- cuMem
Pool ⚠Import Pointer - Import a memory pool allocation from another process.
- cuMem
Pool ⚠SetAccess - Controls visibility of pools between devices.
- cuMem
Pool ⚠SetAttribute - Sets attributes of a memory pool.
- cuMem
Pool ⚠Trim To - Tries to release memory back to the OS.
- cuMem
Prefetch ⚠Async_ v2 - Prefetches memory to the specified destination location.
- cuMem
Prefetch ⚠Batch Async - Performs a batch of memory prefetches asynchronously.
- cuMem
Range ⚠GetAttribute - Query an attribute of a given memory range.
- cuMem
Range ⚠GetAttributes - Query attributes of a given memory range.
- cuMem
Release ⚠ - Release a memory handle representing a memory allocation which was previously allocated through cuMemCreate.
- cuMem
Retain ⚠Allocation Handle - Given an address
addr, returns the allocation handle of the backing memory allocation. - cuMem
SetAccess ⚠ - Set the access flags for each location specified in
descfor the given virtual address range. - cuMem
SetMem ⚠Pool - Sets the current memory pool for a memory location and allocation type.
- cuMem
Unmap ⚠ - Unmap the backing memory of a given address range.
- cuMemcpy⚠
- Copies memory.
- cuMemcpy2D
Async_ ⚠v2 - Copies memory for 2D arrays.
- cuMemcpy2D
Unaligned_ ⚠v2 - Copies memory for 2D arrays.
- cuMemcpy2D_
v2 ⚠ - Copies memory for 2D arrays.
- cuMemcpy3D
Async_ ⚠v2 - Copies memory for 3D arrays.
- cuMemcpy3D
Batch ⚠Async_ v2 - Performs a batch of 3D memory copies asynchronously.
- cuMemcpy3D
Peer ⚠ - Copies memory between contexts.
- cuMemcpy3D
Peer ⚠Async - Copies memory between contexts asynchronously.
- cuMemcpy3D
With ⚠Attributes Async - Performs 3D memory copy with attributes asynchronously.
- cuMemcpy3D_
v2 ⚠ - Copies memory for 3D arrays.
- cuMemcpy
Async ⚠ - Copies memory asynchronously.
- cuMemcpy
AtoA_ ⚠v2 - Copies memory from Array to Array.
- cuMemcpy
AtoD_ ⚠v2 - Copies memory from Array to Device.
- cuMemcpy
AtoH ⚠Async_ v2 - Copies memory from Array to Host.
- cuMemcpy
AtoH_ ⚠v2 - Copies memory from Array to Host.
- cuMemcpy
Batch ⚠Async_ v2 - Performs a batch of memory copies asynchronously.
- cuMemcpy
DtoA_ ⚠v2 - Copies memory from Device to Array.
- cuMemcpy
DtoD ⚠Async_ v2 - Copies memory from Device to Device.
- cuMemcpy
DtoD_ ⚠v2 - Copies memory from Device to Device.
- cuMemcpy
DtoH ⚠Async_ v2 - Copies memory from Device to Host.
- cuMemcpy
DtoH_ ⚠v2 - Copies memory from Device to Host.
- cuMemcpy
HtoA ⚠Async_ v2 - Copies memory from Host to Array.
- cuMemcpy
HtoA_ ⚠v2 - Copies memory from Host to Array.
- cuMemcpy
HtoD ⚠Async_ v2 - Copies memory from Host to Device.
- cuMemcpy
HtoD_ ⚠v2 - Copies memory from Host to Device.
- cuMemcpy
Peer ⚠ - Copies device memory between two contexts.
- cuMemcpy
Peer ⚠Async - Copies device memory between two contexts asynchronously.
- cuMemcpy
With ⚠Attributes Async - Performs asynchronous memory copy operation with the specified attributes.
- cuMemset
D2D8 ⚠Async - Sets device memory.
- cuMemset
D2D8_ ⚠v2 - Initializes device memory.
- cuMemset
D2D16 ⚠Async - Sets device memory.
- cuMemset
D2D16_ ⚠v2 - Initializes device memory.
- cuMemset
D2D32 ⚠Async - Sets device memory.
- cuMemset
D2D32_ ⚠v2 - Initializes device memory.
- cuMemset
D8Async ⚠ - Sets device memory.
- cuMemset
D8_ ⚠v2 - Initializes device memory.
- cuMemset
D16Async ⚠ - Sets device memory.
- cuMemset
D16_ ⚠v2 - Initializes device memory.
- cuMemset
D32Async ⚠ - Sets device memory.
- cuMemset
D32_ ⚠v2 - Initializes device memory.
- cuMipmapped
Array ⚠Create - Creates a CUDA mipmapped array.
- cuMipmapped
Array ⚠Destroy - Destroys a CUDA mipmapped array.
- cuMipmapped
Array ⚠GetLevel - Gets a mipmap level of a CUDA mipmapped array.
- cuMipmapped
Array ⚠GetMemory Requirements - Returns the memory requirements of a CUDA mipmapped array.
- cuMipmapped
Array ⚠GetSparse Properties - Returns the layout properties of a sparse CUDA mipmapped array.
- cuModule
Enumerate ⚠Functions - Returns the function handles within a module.
- cuModule
GetFunction ⚠ - Returns a function handle.
- cuModule
GetFunction ⚠Count - Returns the number of functions within a module.
- cuModule
GetGlobal_ ⚠v2 - Returns a global pointer from a module.
- cuModule
GetLoading ⚠Mode - Query lazy loading mode.
- cuModule
GetSurf ⚠Ref Deprecated - Returns a handle to a surface reference.
- cuModule
GetTex ⚠Ref Deprecated - Returns a handle to a texture reference.
- cuModule
Load ⚠ - Loads a compute module.
- cuModule
Load ⚠Data - Load a module’s data.
- cuModule
Load ⚠Data Ex - Load a module’s data with options.
- cuModule
Load ⚠FatBinary - Load a module’s data.
- cuModule
Unload ⚠ - Unloads a module.
- cuMulticast
AddDevice ⚠ - Associate a device to a multicast object.
- cuMulticast
Bind ⚠Addr - Bind a memory allocation represented by a virtual address to a multicast object.
- cuMulticast
Bind ⚠Addr_ v2 - Bind a memory allocation represented by a virtual address to a multicast object.
- cuMulticast
Bind ⚠Mem - Bind a memory allocation represented by a handle to a multicast object.
- cuMulticast
Bind ⚠Mem_ v2 - Bind a memory allocation represented by a handle to a multicast object.
- cuMulticast
Create ⚠ - Create a generic allocation handle representing a multicast object described by the given properties.
- cuMulticast
GetGranularity ⚠ - Calculates either the minimal or recommended granularity for multicast object.
- cuMulticast
Unbind ⚠ - Unbind any memory allocations bound to a multicast object at a given offset and upto a given size.
- cuOccupancy
Available ⚠DynamicS MemPer Block - Returns dynamic shared memory available per block when launching
numBlocksblocks on SM. - cuOccupancy
MaxActive ⚠Blocks PerMultiprocessor - Returns occupancy of a function.
- cuOccupancy
MaxActive ⚠Blocks PerMultiprocessor With Flags - Returns occupancy of a function.
- cuOccupancy
MaxActive ⚠Clusters - Given the kernel function (
func) and launch configuration (config), return the maximum number of clusters that could co-exist on the target device in*numClusters. - cuOccupancy
MaxPotential ⚠Block Size - Suggest a launch configuration with reasonable occupancy.
- cuOccupancy
MaxPotential ⚠Block Size With Flags - Suggest a launch configuration with reasonable occupancy.
- cuOccupancy
MaxPotential ⚠Cluster Size - Given the kernel function (
func) and launch configuration (config), return the maximum cluster size in*clusterSize. - cuParam
SetSize ⚠Deprecated - Sets the parameter size for the function.
- cuParam
SetTex ⚠Ref Deprecated - Adds a texture-reference to the function’s argument list.
- cuParam
Setf ⚠Deprecated - Adds a floating-point parameter to the function’s argument list.
- cuParam
Seti ⚠Deprecated - Adds an integer parameter to the function’s argument list.
- cuParam
Setv ⚠Deprecated - Adds arbitrary data to the function’s argument list.
- cuPointer
GetAttribute ⚠ - Returns information about a pointer.
- cuPointer
GetAttributes ⚠ - Returns information about a pointer.
- cuPointer
SetAttribute ⚠ - Set attributes on a previously allocated memory region.
- cuSignal
External ⚠Semaphores Async - Signals a set of external semaphore objects.
- cuStream
AddCallback ⚠ - Add a callback to a compute stream.
- cuStream
Attach ⚠MemAsync - Attach memory to a stream asynchronously.
- cuStream
Batch ⚠MemOp_ v2 - Batch operations to synchronize the stream via memory operations.
- cuStream
Begin ⚠Capture ToCig - Begins capture to CIG on a stream.
- cuStream
Begin ⚠Capture ToGraph - Begins graph capture on a stream to an existing graph.
- cuStream
Begin ⚠Capture_ v2 - Begins graph capture on a stream.
- cuStream
Begin ⚠Recapture ToGraph - Begin graph capture on a stream to an existing graph.
- cuStream
Copy ⚠Attributes - Copies attributes from source stream to destination stream.
- cuStream
Create ⚠ - Create a stream.
- cuStream
Create ⚠With Priority - Create a stream with the given priority.
- cuStream
Destroy_ ⚠v2 - Destroys a stream.
- cuStream
EndCapture ⚠ - Ends capture on a stream, returning the captured graph.
- cuStream
EndCapture ⚠ToCig - Ends CIG capture on a stream.
- cuStream
GetAttribute ⚠ - Queries stream attribute.
- cuStream
GetCapture ⚠Info_ v3 - Query a stream’s capture state.
- cuStream
GetCtx ⚠ - Query the context associated with a stream.
- cuStream
GetCtx_ ⚠v2 - Query the contexts associated with a stream.
- cuStream
GetDev ⚠Resource - Get stream resources.
- cuStream
GetDevice ⚠ - Returns the device handle of the stream.
- cuStream
GetFlags ⚠ - Query the flags of a given stream.
- cuStream
GetGreen ⚠Ctx - Query the green context associated with a stream.
- cuStream
GetId ⚠ - Returns the unique Id associated with the stream handle supplied.
- cuStream
GetPriority ⚠ - Query the priority of a given stream.
- cuStream
IsCapturing ⚠ - Returns a stream’s capture status.
- cuStream
Query ⚠ - Determine status of a compute stream.
- cuStream
SetAttribute ⚠ - Sets stream attribute.
- cuStream
Synchronize ⚠ - Wait until a stream’s tasks are completed.
- cuStream
Update ⚠Capture Dependencies_ v2 - Update the set of dependencies in a capturing stream.
- cuStream
Wait ⚠Event - Make a compute stream wait on an event.
- cuStream
Wait ⚠Value32_ v2 - Wait on a memory location.
- cuStream
Wait ⚠Value64_ v2 - Wait on a memory location.
- cuStream
Write ⚠Value32_ v2 - Write a value to memory.
- cuStream
Write ⚠Value64_ v2 - Write a value to memory.
- cuSurf
Object ⚠Create - Creates a surface object.
- cuSurf
Object ⚠Destroy - Destroys a surface object.
- cuSurf
Object ⚠GetResource Desc - Returns a surface object’s resource descriptor.
- cuSurf
RefGet ⚠Array Deprecated - Passes back the CUDA array bound to a surface reference.
- cuSurf
RefSet ⚠Array Deprecated - Sets the CUDA array for a surface reference.
- cuTensor
MapEncode ⚠Im2col - Create a tensor map descriptor object representing im2col memory region.
- cuTensor
MapEncode ⚠Im2col Wide - Create a tensor map descriptor object representing im2col memory region, but where the elements are exclusively loaded along the W dimension.
- cuTensor
MapEncode ⚠Tiled - Create a tensor map descriptor object representing tiled memory region.
- cuTensor
MapReplace ⚠Address - Modify an existing tensor map descriptor with an updated global address.
- cuTex
Object ⚠Create - Creates a texture object.
- cuTex
Object ⚠Destroy - Destroys a texture object.
- cuTex
Object ⚠GetResource Desc - Returns a texture object’s resource descriptor.
- cuTex
Object ⚠GetResource View Desc - Returns a texture object’s resource view descriptor.
- cuTex
Object ⚠GetTexture Desc - Returns a texture object’s texture descriptor.
- cuTex
RefCreate ⚠Deprecated - Creates a texture reference.
- cuTex
RefDestroy ⚠Deprecated - Destroys a texture reference.
- cuTex
RefGet ⚠Address Mode Deprecated - Gets the addressing mode used by a texture reference.
- cuTex
RefGet ⚠Address_ v2 Deprecated - Gets the address associated with a texture reference.
- cuTex
RefGet ⚠Array Deprecated - Gets the array bound to a texture reference.
- cuTex
RefGet ⚠Border Color Deprecated - Gets the border color used by a texture reference.
- cuTex
RefGet ⚠Filter Mode Deprecated - Gets the filter-mode used by a texture reference.
- cuTex
RefGet ⚠Flags Deprecated - Gets the flags used by a texture reference.
- cuTex
RefGet ⚠Format Deprecated - Gets the format used by a texture reference.
- cuTex
RefGet ⚠MaxAnisotropy Deprecated - Gets the maximum anisotropy for a texture reference.
- cuTex
RefGet ⚠Mipmap Filter Mode Deprecated - Gets the mipmap filtering mode for a texture reference.
- cuTex
RefGet ⚠Mipmap Level Bias Deprecated - Gets the mipmap level bias for a texture reference.
- cuTex
RefGet ⚠Mipmap Level Clamp Deprecated - Gets the min/max mipmap level clamps for a texture reference.
- cuTex
RefGet ⚠Mipmapped Array Deprecated - Gets the mipmapped array bound to a texture reference.
- cuTex
RefSet ⚠Address2D_ v3 Deprecated - Binds an address as a 2D texture reference.
- cuTex
RefSet ⚠Address Mode Deprecated - Sets the addressing mode for a texture reference.
- cuTex
RefSet ⚠Address_ v2 Deprecated - Binds an address as a texture reference.
- cuTex
RefSet ⚠Array Deprecated - Binds an array as a texture reference.
- cuTex
RefSet ⚠Border Color Deprecated - Sets the border color for a texture reference.
- cuTex
RefSet ⚠Filter Mode Deprecated - Sets the filtering mode for a texture reference.
- cuTex
RefSet ⚠Flags Deprecated - Sets the flags for a texture reference.
- cuTex
RefSet ⚠Format Deprecated - Sets the format for a texture reference.
- cuTex
RefSet ⚠MaxAnisotropy Deprecated - Sets the maximum anisotropy for a texture reference.
- cuTex
RefSet ⚠Mipmap Filter Mode Deprecated - Sets the mipmap filtering mode for a texture reference.
- cuTex
RefSet ⚠Mipmap Level Bias Deprecated - Sets the mipmap level bias for a texture reference.
- cuTex
RefSet ⚠Mipmap Level Clamp Deprecated - Sets the mipmap min/max mipmap level clamps for a texture reference.
- cuTex
RefSet ⚠Mipmapped Array Deprecated - Binds a mipmapped array to a texture reference.
- cuThread
Exchange ⚠Stream Capture Mode - Swaps the stream capture interaction mode for a thread.
- cuUser
Object ⚠Create - Create a user object.
- cuUser
Object ⚠Release - Release a reference to a user object.
- cuUser
Object ⚠Retain - Retain a reference to a user object.
- cuWait
External ⚠Semaphores Async - Waits on a set of external semaphore objects.
Type Aliases§
- CUDA_
ARRA Y3D_ DESCRIPTOR - 3D array descriptor
- CUDA_
ARRA Y3D_ DESCRIPTOR_ v2 - 3D array descriptor.
- CUDA_
ARRAY_ DESCRIPTOR - Array descriptor
- CUDA_
ARRAY_ DESCRIPTOR_ v2 - Array descriptor.
- CUDA_
ARRAY_ MEMORY_ REQUIREMENTS - CUDA array memory requirements
- CUDA_
ARRAY_ MEMORY_ REQUIREMENTS_ v1 - CUDA array memory requirements.
- CUDA_
ARRAY_ SPARSE_ PROPERTIES - CUDA array sparse properties
- CUDA_
ARRAY_ SPARSE_ PROPERTIES_ v1 - CUDA array sparse properties.
- CUDA_
BATCH_ MEM_ OP_ NODE_ PARAMS - Batch memory operation node parameters
- CUDA_
BATCH_ MEM_ OP_ NODE_ PARAMS_ v1 - Batch memory operation node parameters.
- CUDA_
BATCH_ MEM_ OP_ NODE_ PARAMS_ v2 - Batch memory operation node parameters.
- CUDA_
CHILD_ GRAPH_ NODE_ PARAMS - Child graph node parameters.
- CUDA_
EVENT_ RECORD_ NODE_ PARAMS - Event record node parameters.
- CUDA_
EVENT_ WAIT_ NODE_ PARAMS - Event wait node parameters.
- CUDA_
EXTERNAL_ MEMORY_ BUFFER_ DESC - External memory buffer descriptor
- CUDA_
EXTERNAL_ MEMORY_ BUFFER_ DESC_ v1 - External memory buffer descriptor.
- CUDA_
EXTERNAL_ MEMORY_ HANDLE_ DESC - External memory handle descriptor
- CUDA_
EXTERNAL_ MEMORY_ HANDLE_ DESC_ v1 - External memory handle descriptor.
- CUDA_
EXTERNAL_ MEMORY_ MIPMAPPED_ ARRAY_ DESC - External memory mipmap descriptor
- CUDA_
EXTERNAL_ MEMORY_ MIPMAPPED_ ARRAY_ DESC_ v1 - External memory mipmap descriptor.
- CUDA_
EXTERNAL_ SEMAPHORE_ HANDLE_ DESC - External semaphore handle descriptor
- CUDA_
EXTERNAL_ SEMAPHORE_ HANDLE_ DESC_ v1 - External semaphore handle descriptor.
- CUDA_
EXTERNAL_ SEMAPHORE_ SIGNAL_ PARAMS - External semaphore signal parameters
- CUDA_
EXTERNAL_ SEMAPHORE_ SIGNAL_ PARAMS_ v1 - External semaphore signal parameters.
- CUDA_
EXTERNAL_ SEMAPHORE_ WAIT_ PARAMS - External semaphore wait parameters
- CUDA_
EXTERNAL_ SEMAPHORE_ WAIT_ PARAMS_ v1 - External semaphore wait parameters.
- CUDA_
EXT_ SEM_ SIGNAL_ NODE_ PARAMS - Semaphore signal node parameters
- CUDA_
EXT_ SEM_ SIGNAL_ NODE_ PARAMS_ v1 - Semaphore signal node parameters.
- CUDA_
EXT_ SEM_ SIGNAL_ NODE_ PARAMS_ v2 - Semaphore signal node parameters.
- CUDA_
EXT_ SEM_ WAIT_ NODE_ PARAMS - Semaphore wait node parameters
- CUDA_
EXT_ SEM_ WAIT_ NODE_ PARAMS_ v1 - Semaphore wait node parameters.
- CUDA_
EXT_ SEM_ WAIT_ NODE_ PARAMS_ v2 - Semaphore wait node parameters.
- CUDA_
GRAPH_ INSTANTIATE_ PARAMS - Graph instantiation parameters.
- CUDA_
HOST_ NODE_ PARAMS - Host node parameters
- CUDA_
HOST_ NODE_ PARAMS_ v1 - Host node parameters.
- CUDA_
HOST_ NODE_ PARAMS_ v2 - Host node parameters.
- CUDA_
KERNEL_ NODE_ PARAMS - GPU kernel node parameters
- CUDA_
KERNEL_ NODE_ PARAMS_ v1 - GPU kernel node parameters.
- CUDA_
KERNEL_ NODE_ PARAMS_ v2 - GPU kernel node parameters.
- CUDA_
KERNEL_ NODE_ PARAMS_ v3 - GPU kernel node parameters.
- CUDA_
LAUNCH_ PARAMS - Kernel launch parameters
- CUDA_
LAUNCH_ PARAMS_ v1 - Kernel launch parameters.
- CUDA_
MEMCP Y2D - 2D memory copy parameters
- CUDA_
MEMCP Y2D_ v2 - 2D memory copy parameters.
- CUDA_
MEMCP Y3D - 3D memory copy parameters
- CUDA_
MEMCP Y3D_ BATCH_ OP - One source, destination, extent, and access-order specification in a batched three-dimensional copy.
- CUDA_
MEMCP Y3D_ BATCH_ OP_ v1 - One source, destination, extent, and access-order specification in a batched three-dimensional copy.
- CUDA_
MEMCP Y3D_ PEER - 3D memory cross-context copy parameters
- CUDA_
MEMCP Y3D_ PEER_ v1 - 3D memory cross-context copy parameters.
- CUDA_
MEMCP Y3D_ v2 - 3D memory copy parameters.
- CUDA_
MEMCPY_ NODE_ PARAMS - Memcpy node parameters.
- CUDA_
MEMSET_ NODE_ PARAMS - Memset node parameters
- CUDA_
MEMSET_ NODE_ PARAMS_ v1 - Memset node parameters.
- CUDA_
MEMSET_ NODE_ PARAMS_ v2 - Memset node parameters.
- CUDA_
MEM_ ALLOC_ NODE_ PARAMS - Memory allocation node parameters
- CUDA_
MEM_ ALLOC_ NODE_ PARAMS_ v1 - Memory allocation node parameters.
- CUDA_
MEM_ ALLOC_ NODE_ PARAMS_ v2 - Memory allocation node parameters.
- CUDA_
MEM_ FREE_ NODE_ PARAMS - Memory free node parameters.
- CUDA_
POINTER_ ATTRIBUTE_ P2P_ TOKENS - GPU Direct v3 tokens
- CUDA_
POINTER_ ATTRIBUTE_ P2P_ TOKENS_ v1 - GPU Direct v3 tokens.
- CUDA_
RESOURCE_ DESC - CUDA Resource descriptor
- CUDA_
RESOURCE_ DESC_ v1 - CUDA Resource descriptor.
- CUDA_
RESOURCE_ VIEW_ DESC - Resource view descriptor
- CUDA_
RESOURCE_ VIEW_ DESC_ v1 - Resource view descriptor.
- CUDA_
TEXTURE_ DESC - Texture descriptor
- CUDA_
TEXTURE_ DESC_ v1 - Texture descriptor.
- CU_
DEV_ SM_ RESOURCE_ GROUP_ PARAMS - Input data for splitting SMs.
- CUaccess
Policy Window - Access policy window.
- CUaccess
Policy Window_ v1 - Specifies an access policy for a window, a contiguous extent of memory beginning at base_ptr and ending at base_ptr + num_bytes.
- CUarray
- CUDA array.
- CUarray
MapInfo - Specifies the CUDA array or CUDA mipmapped array memory mapping information
- CUarray
MapInfo_ v1 - Specifies the CUDA array or CUDA mipmapped array memory mapping information.
- CUasync
Callback - CUDA async notification callback.
- CUasync
Callback Handle - CUDA async notification callback handle.
- CUasync
Notification Info - Information passed to the user via the async notification callback.
- CUcheckpoint
Checkpoint Args - CUDA checkpoint optional checkpoint arguments.
- CUcheckpoint
Custom Storage Info - Output from CUDA custom storage checkpoint/restore: per-GPU device pointers and a handle to complete the operation.
- CUcheckpoint
Custom Storage PerDevice Data - Per-GPU data for zero-copy mapped device memory used with CUDA checkpoint/restore on custom storage.
- CUcheckpoint
GpuPair - CUDA checkpoint GPU UUID pairs for device remapping during restore.
- CUcheckpoint
Lock Args - CUDA checkpoint optional lock arguments.
- CUcheckpoint
Operation Handle - Handle for a CUDA custom storage checkpoint or restore operation awaiting completion.
- CUcheckpoint
Restore Args - CUDA checkpoint optional restore arguments.
- CUcheckpoint
Unlock Args - CUDA checkpoint optional unlock arguments.
- CUclique
Info - Fabric clique information.
- CUcontext
- A regular context handle.
- CUcoredump
Callback Handle - Opaque handle representing a registered coredump status callback.
- CUcoredump
Status Callback - Callback function prototype for GPU coredump status notifications.
- CUctx
CigParam - CIG Context Create Params.
- CUctx
Create Params - Params for creating CUDA context.
- CUdev
Resource - A tagged union describing different resources identified by the type field. This structure should not be directly modified outside of the API that created it.
- CUdev
Resource Desc - An opaque descriptor handle. The descriptor encapsulates multiple created and configured resources. Created via
cuDevResourceGenerateDesc. - CUdev
Resource_ v1 - A tagged union describing different resources identified by the type field. This structure should not be directly modified outside of the API that created it.
- CUdev
SmResource - Data for SM-related resources All parameters in this structure are OUTPUT only. Do not write to any of the fields in this structure.
- CUdev
Workqueue Config Resource - Data for workqueue configuration related resources.
- CUdev
Workqueue Resource - Handle to a pre-existing workqueue related resource.
- CUdevice
- CUDA device.
- CUdevice_
v1 - CUDA device.
- CUdeviceptr
- CUDA device pointer.
- CUdeviceptr_
v2 - CUDA device pointer CUdeviceptr is defined as an unsigned integer type whose size matches the size of a pointer on the target platform.
- CUdevprop
- Legacy device properties
- CUdevprop_
v1 - Legacy device properties.
- CUevent
- CUDA event.
- CUexec
Affinity Param - Execution Affinity Parameters.
- CUexec
Affinity Param_ v1 - Execution Affinity Parameters.
- CUexec
Affinity SmCount - Value for
CUexecAffinityType_enum::CU_EXEC_AFFINITY_TYPE_SM_COUNT - CUexec
Affinity SmCount_ v1 - Value for
CUexecAffinityType_enum::CU_EXEC_AFFINITY_TYPE_SM_COUNT. - CUextent3D
- Struct representing width/height/depth of a CUarray in elements
- CUextent3D_
v1 - Struct representing width/height/depth of a CUarray in elements.
- CUexternal
Memory - CUDA external memory.
- CUexternal
Semaphore - CUDA external semaphore.
- CUfunction
- CUDA function.
- CUgraph
- CUDA graph.
- CUgraph
Conditional Handle - CUDA graph conditional handle.
- CUgraph
Device Node - CUDA graph device node handle.
- CUgraph
Edge Data - Optional annotation for edges in a CUDA graph.
- CUgraph
Exec - CUDA executable graph.
- CUgraph
Exec Update Result Info - Result information returned by cuGraphExecUpdate
- CUgraph
Exec Update Result Info_ v1 - Result information returned by cuGraphExecUpdate.
- CUgraph
Node - CUDA graph node.
- CUgraph
Node Params - Graph node parameters.
- CUgraph
Recapture Callback - Callback function invoked when node parameter mismatches are detected while recapturing to an existing graph.
- CUgraphics
Resource - CUDA graphics interop resource.
- CUgreen
Ctx - A green context handle. This handle can be used safely from only one CPU thread at a time. Created via
cuGreenCtxCreate. - CUhost
Fn - CUDA host function.
- CUipc
Event Handle - CUDA IPC event handle
- CUipc
Event Handle_ v1 - CUDA IPC event handle.
- CUipc
MemHandle - CUDA IPC mem handle
- CUipc
MemHandle_ v1 - CUDA IPC mem handle.
- CUkernel
- CUDA kernel.
- CUkernel
Node Attr Value - Launch attributes union; used as value field of
CUlaunchAttribute - CUkernel
Node Attr Value_ v1 - Launch attributes union; used as value field of
CUlaunchAttribute - CUlaunch
Attribute - Launch attribute.
- CUlaunch
Attribute Value - Launch attributes union; used as value field of
CUlaunchAttribute. - CUlaunch
Config - CUDA extensible launch configuration.
- CUlaunch
MemSync Domain Map - Memory Synchronization Domain map.
- CUlibrary
- CUDA library.
- CUlibrary
Host Universal Function AndData Table - Host-side function and data tables supplied through
CUlibraryOption_enum::CU_LIBRARY_HOST_UNIVERSAL_FUNCTION_AND_DATA_TABLE. - CUlink
State - Opaque state of a CUDA driver JIT linking session, created by
cuLinkCreateand released bycuLinkDestroy. - CUlog
Iterator - Native cursor used to iterate through CUDA driver log messages.
- CUlogical
Endpoint Fabric Handle - Fabric handle for a logical endpoint.
- CUlogical
Endpoint Id - An ID that represents a logical endpoint.
- CUlogical
Endpoint Prop - Properties of a logical endpoint construction.
- CUlogs
Callback - MANBRIEF error log management functions for the low-level CUDA API (CURRENT_FILE) ENDMANBRIEF
- CUlogs
Callback Handle - Opaque registration handle returned by the CUDA driver logging callback API.
- CUmem
Access Desc - Memory access descriptor
- CUmem
Access Desc_ v1 - Memory access descriptor.
- CUmem
Allocation Prop - Specifies the allocation properties for a allocation.
- CUmem
Allocation Prop_ v1 - Specifies the allocation properties for a allocation.
- CUmem
Decompress Params - Structure describing the parameters that compose a single decompression operation.
- CUmem
Fabric Handle - Fabric handle - An opaque handle representing a memory allocation that can be exported to processes in same or different nodes. For IPC between processes on different nodes they must be connected via the NVSwitch fabric.
- CUmem
Fabric Handle_ v1 - Fabric handle - An opaque handle representing a memory allocation that can be exported to processes in same or different nodes.
- CUmem
Generic Allocation Handle - Opaque handle to a CUDA virtual-memory allocation. The handle identifies an allocation, not a device address; mappings are established separately with
cuMemMap. - CUmem
Generic Allocation Handle_ v1 - Opaque handle to a CUDA virtual-memory allocation. The handle identifies an allocation, not a device address; mappings are established separately with
cuMemMap. - CUmem
Location - Specifies a memory location.
- CUmem
Location_ v1 - Specifies a memory location.
- CUmem
Pool Props - Specifies the properties of allocations made from the pool.
- CUmem
Pool Props_ v1 - Specifies the properties of allocations made from the pool.
- CUmem
Pool PtrExport Data - Opaque data for exporting a pool allocation
- CUmem
Pool PtrExport Data_ v1 - Opaque data for exporting a pool allocation.
- CUmemcpy3D
Operand - Struct representing an operand for copy with
cuMemcpy3DBatchAsync - CUmemcpy3D
Operand_ v1 - Struct representing an operand for copy with cuMemcpy3DBatchAsync.
- CUmemcpy
Attributes - Attributes specific to copies within a batch. For more details on usage see
cuMemcpyBatchAsync. - CUmemcpy
Attributes_ v1 - Attributes specific to copies within a batch.
- CUmemory
Pool - CUDA memory pool.
- CUmipmapped
Array - CUDA mipmapped array.
- CUmodule
- CUDA module.
- CUmulticast
Object Prop - Specifies the properties for a multicast object.
- CUmulticast
Object Prop_ v1 - Specifies the properties for a multicast object.
- CUoccupancy
B2DSize - Block size to per-block dynamic shared memory mapping for a certain kernel.
- CUoffset3D
- Struct representing a 3D offset
- CUoffset3D_
v1 - Struct representing a 3D offset.
- CUstream
- CUDA stream.
- CUstream
Attr Value - Launch attributes union; used as value field of
CUlaunchAttribute - CUstream
Attr Value_ v1 - Launch attributes union; used as value field of
CUlaunchAttribute - CUstream
Batch MemOp Params - Per-operation parameters for
cuStreamBatchMemOp - CUstream
Batch MemOp Params_ v1 - Per-operation parameters for cuStreamBatchMemOp.
- CUstream
Callback - CUDA stream callback.
- CUstream
CigCapture Params - Params for capturing CUDA stream to CIG streamCigParams must be non-NULL.
- CUstream
CigParam - CIG Stream Capture Params.
- CUsurf
Object - An opaque value that represents a CUDA surface object.
- CUsurf
Object_ v1 - An opaque value that represents a CUDA surface object.
- CUsurfref
- CUDA surface reference.
- CUtensor
Map - Tensor map descriptor.
- CUtex
Object - An opaque value that represents a CUDA texture object.
- CUtex
Object_ v1 - An opaque value that represents a CUDA texture object.
- CUtexref
- CUDA texture reference.
- CUuser
Object - CUDA user object for graphs.
- CUuuid
- CUDA UUID stored as 16 bytes. The bytes are an identifier, not a null-terminated string.
- cuuint32_
t - An ID that represents a logical endpoint.
- cuuint64_
t - CUDA graph conditional handle.
- size_t
- Unsigned C
size_t, used for byte counts and object sizes in the native ABI.
Unions§
- CUDA_
EVENT_ RECORD_ NODE_ PARAMS_ st__ bindgen_ ty_ 1 - preferred context to use for the event record
- CUDA_
EXTERNAL_ MEMORY_ HANDLE_ DESC_ st__ bindgen_ ty_ 1 - Native layout of the
handlemember ofCUDA_EXTERNAL_MEMORY_HANDLE_DESC_st. - CUDA_
EXTERNAL_ SEMAPHORE_ HANDLE_ DESC_ st__ bindgen_ ty_ 1 - Native layout of the
handlemember ofCUDA_EXTERNAL_SEMAPHORE_HANDLE_DESC_st. - CUDA_
EXTERNAL_ SEMAPHORE_ SIGNAL_ PARAMS_ st__ bindgen_ ty_ 1__ bindgen_ ty_ 2 - Native layout of the
nvSciSyncmember ofCUDA_EXTERNAL_SEMAPHORE_SIGNAL_PARAMS_st__bindgen_ty_1. - CUDA_
EXTERNAL_ SEMAPHORE_ WAIT_ PARAMS_ st__ bindgen_ ty_ 1__ bindgen_ ty_ 2 - Pointer to NvSciSyncFence. Valid if CUexternalSemaphoreHandleType is of type CU_EXTERNAL_SEMAPHORE_HANDLE_TYPE_NVSCISYNC.
- CUDA_
EXT_ SEM_ SIGNAL_ NODE_ PARAMS_ v2_ st__ bindgen_ ty_ 1 - preferred context to use for the semaphore signal task
- CUDA_
EXT_ SEM_ WAIT_ NODE_ PARAMS_ v2_ st__ bindgen_ ty_ 1 - preferred context to use for the semaphore wait task
- CUDA_
HOST_ NODE_ PARAMS_ v2_ st__ bindgen_ ty_ 1 - preferred context to use for the host task
- CUDA_
RESOURCE_ DESC_ st__ bindgen_ ty_ 1 - Native layout of the
resmember ofCUDA_RESOURCE_DESC_st. - CUarray
MapInfo_ st__ bindgen_ ty_ 1 - Native layout of the
resourcemember ofCUarrayMapInfo_st. - CUarray
MapInfo_ st__ bindgen_ ty_ 2 - Native layout of the
subresourcemember ofCUarrayMapInfo_st. - CUarray
MapInfo_ st__ bindgen_ ty_ 3 - Native layout of the
memHandlemember ofCUarrayMapInfo_st. - CUasync
Notification Info_ st__ bindgen_ ty_ 1 - Native layout of the
infomember ofCUasyncNotificationInfo_st. - CUdev
Resource_ st__ bindgen_ ty_ 1 - Anonymous native union in
CUdevResource_st. Its members share the same storage. - CUexec
Affinity Param_ st__ bindgen_ ty_ 1 - Native layout of the
parammember ofCUexecAffinityParam_st. - CUgraph
Node Params_ st__ bindgen_ ty_ 1 - Anonymous native union in
CUgraphNodeParams_st. Its members share the same storage. - CUlaunch
Attribute Value_ union - Launch attributes union; used as value field of
CUlaunchAttribute. - CUlogical
Endpoint Prop_ struct__ bindgen_ ty_ 1 - Anonymous native union in
CUlogicalEndpointProp_struct. Its members share the same storage. - CUmem
Location_ st__ bindgen_ ty_ 1 - Anonymous native union in
CUmemLocation_st. Its members share the same storage. - CUmemcpy3D
Operand_ st__ bindgen_ ty_ 1 - Native layout of the
opmember ofCUmemcpy3DOperand_st. - CUstream
Batch MemOp Params_ union - Per-operation parameters for cuStreamBatchMemOp.
- CUstream
Batch MemOp Params_ union_ CUstream MemOp Wait Value Params_ st__ bindgen_ ty_ 1 - Anonymous native union in
CUstreamBatchMemOpParams_union_CUstreamMemOpWaitValueParams_st. Its members share the same storage. - CUstream
Batch MemOp Params_ union_ CUstream MemOp Write Value Params_ st__ bindgen_ ty_ 1 - Anonymous native union in
CUstreamBatchMemOpParams_union_CUstreamMemOpWriteValueParams_st. Its members share the same storage.