Skip to main content

Module driver

Module driver 

Source
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::CUsharedconfig_enum as CUsharedconfig;Deprecated
pub use self::CUshared_carveout_enum as CUshared_carveout;
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::CUsharedMemoryMode_enum as CUsharedMemoryMode;
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§

CUCoredumpGenerationFlags
Flags for controlling coredump contents.
CUDA_ARRAY3D_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 tileExtent member of CUDA_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 params member of CUDA_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 params member of CUDA_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_MEMCPY2D_st
2D memory copy parameters.
CUDA_MEMCPY3D_BATCH_OP_st
One source, destination, extent, and access-order specification in a batched three-dimensional copy.
CUDA_MEMCPY3D_PEER_st
3D memory cross-context copy parameters.
CUDA_MEMCPY3D_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 array member of CUDA_RESOURCE_DESC_st__bindgen_ty_1.
CUDA_RESOURCE_DESC_st__bindgen_ty_1__bindgen_ty_2
Native layout of the mipmap member of CUDA_RESOURCE_DESC_st__bindgen_ty_1.
CUDA_RESOURCE_DESC_st__bindgen_ty_1__bindgen_ty_3
Native layout of the linear member of CUDA_RESOURCE_DESC_st__bindgen_ty_1.
CUDA_RESOURCE_DESC_st__bindgen_ty_1__bindgen_ty_4
Native layout of the pitch2D member of CUDA_RESOURCE_DESC_st__bindgen_ty_1.
CUDA_RESOURCE_DESC_st__bindgen_ty_1__bindgen_ty_5
Native layout of the reserved member of CUDA_RESOURCE_DESC_st__bindgen_ty_1.
CUDA_RESOURCE_VIEW_DESC_st
Resource view descriptor.
CUDA_TEXTURE_DESC_st
Texture descriptor.
CUGPUDirectRDMAWritesOrdering_enum
Platform native ordering for GPUDirect RDMA writes.
CUIcheckpointOperation_st
Incomplete native type used by CUcheckpointOperationHandle handles. The native API owns its layout.
CU_DEV_SM_RESOURCE_GROUP_PARAMS_st
Input data for splitting SMs.
CUaccessPolicyWindow_st
Specifies an access policy for a window, a contiguous extent of memory beginning at base_ptr and ending at base_ptr + num_bytes.
CUaccessProperty_enum
Specifies performance hint with CUaccessPolicyWindow for hitProp and missProp members.
CUaddress_mode_enum
Texture reference addressing modes.
CUarrayMapInfo_st
Specifies the CUDA array or CUDA mipmapped array memory mapping information.
CUarrayMapInfo_st__bindgen_ty_2__bindgen_ty_1
Native layout of the sparseLevel member of CUarrayMapInfo_st__bindgen_ty_2.
CUarrayMapInfo_st__bindgen_ty_2__bindgen_ty_2
Native layout of the miptail member of CUarrayMapInfo_st__bindgen_ty_2.
CUarraySparseSubresourceType_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 CUarray handles. The native API owns its layout.
CUasyncCallbackEntry_st
Incomplete native type used by CUasyncCallbackHandle handles. The native API owns its layout.
CUasyncNotificationInfo_st
Information passed to the user via the async notification callback.
CUasyncNotificationInfo_st__bindgen_ty_1__bindgen_ty_1
Native layout of the overBudget member of CUasyncNotificationInfo_st__bindgen_ty_1.
CUasyncNotificationType_enum
Types of async notification that can be sent.
CUatomicOperationCapability_enum
CUDA-valid Atomic Operation capabilities.
CUatomicOperation_enum
CUDA-valid Atomic Operations.
CUcheckpointCheckpointArgs_st
CUDA checkpoint optional checkpoint arguments.
CUcheckpointCustomStorageInfo_st
Output from CUDA custom storage checkpoint/restore: per-GPU device pointers and a handle to complete the operation.
CUcheckpointCustomStoragePerDeviceData_st
Per-GPU data for zero-copy mapped device memory used with CUDA checkpoint/restore on custom storage.
CUcheckpointGpuPair_st
CUDA checkpoint GPU UUID pairs for device remapping during restore.
CUcheckpointLockArgs_st
CUDA checkpoint optional lock arguments.
CUcheckpointRestoreArgs_st
CUDA checkpoint optional restore arguments.
CUcheckpointUnlockArgs_st
CUDA checkpoint optional unlock arguments.
CUcigDataType_enum
Graphics-client handle representation supplied when creating a CUDA-in-Graphics context.
CUcliqueInfo_st
Fabric clique information.
CUcliqueType_enum
Fabric clique types.
CUclusterSchedulingPolicy_enum
Cluster scheduling policies.
CUcomputemode_enum
Compute Modes.
CUcoredumpCallbackEntry_st
Incomplete native type used by CUcoredumpCallbackHandle handles. The native API owns its layout.
CUcoredumpSettings_enum
Flags for choosing a coredump attribute to get/set.
CUctxCigParam_st
CIG Context Create Params.
CUctxCreateParams_st
Params for creating CUDA context.
CUctx_flags_enum
Context creation flags.
CUctx_st
Incomplete native type used by CUcontext handles. The native API owns its layout.
CUdevResourceDesc_st
Incomplete native type used by CUdevResourceDesc handles. The native API owns its layout.
CUdevResourceType
Type of resource.
CUdevResource_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.
CUdevSmResourceGroup_flags
Flags for a CUdevSmResource group.
CUdevSmResourceSplitByCount_flags
Flags controlling SM-resource partition granularity and supported thread-block cluster sizes.
CUdevSmResource_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.
CUdevWorkqueueConfigResource_st
Data for workqueue configuration related resources.
CUdevWorkqueueConfigScope
Sharing scope for workqueues.
CUdevWorkqueueResource_st
Handle to a pre-existing workqueue related resource.
CUdeviceNumaConfig_enum
CUDA device NUMA configuration.
CUdevice_P2PAttribute_enum
P2P Attributes.
CUdevice_attribute_enum
Device properties.
CUdevprop_st
Legacy device properties.
CUdriverProcAddressQueryResult_enum
Flags to indicate search status.
CUdriverProcAddress_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.
CUexecAffinityParam_st
Execution Affinity Parameters.
CUexecAffinitySmCount_st
Value for CUexecAffinityType_enum::CU_EXEC_AFFINITY_TYPE_SM_COUNT.
CUexecAffinityType_enum
Execution Affinity Types.
CUextMemory_st
Incomplete native type used by CUexternalMemory handles. The native API owns its layout.
CUextSemaphore_st
Incomplete native type used by CUexternalSemaphore handles. The native API owns its layout.
CUextent3D_st
Struct representing width/height/depth of a CUarray in elements.
CUexternalMemoryHandleType_enum
External memory handle types.
CUexternalSemaphoreHandleType_enum
External semaphore handle types.
CUfilter_mode_enum
Texture reference filtering modes.
CUflushGPUDirectRDMAWritesOptions_enum
Bitmasks for CUdevice_attribute_enum::CU_DEVICE_ATTRIBUTE_GPU_DIRECT_RDMA_FLUSH_WRITES_OPTIONS.
CUflushGPUDirectRDMAWritesScope_enum
The scopes for cuFlushGPUDirectRDMAWrites.
CUflushGPUDirectRDMAWritesTarget_enum
The targets for cuFlushGPUDirectRDMAWrites.
CUfunc_cache_enum
Function cache configurations.
CUfunc_st
Incomplete native type used by CUfunction handles. The native API owns its layout.
CUfunctionLoadingState_enum
Whether the native code for a CUDA function has been loaded onto the device.
CUfunction_attribute_enum
Function properties.
CUgraphChildGraphNodeOwnership_enum
Child graph node ownership.
CUgraphConditionalNodeType_enum
Conditional node types.
CUgraphDebugDot_flags_enum
The additional write options for cuGraphDebugDotPrint.
CUgraphDependencyType_enum
Type annotations that can be applied to graph edges as part of CUgraphEdgeData.
CUgraphDeviceUpdatableNode_st
Incomplete native type used by CUgraphDeviceNode handles. The native API owns its layout.
CUgraphEdgeData_st
Optional annotation for edges in a CUDA graph.
CUgraphExecUpdateResultInfo_st
Result information returned by cuGraphExecUpdate.
CUgraphExecUpdateResult_enum
CUDA Graph Update error types.
CUgraphExec_st
Incomplete native type used by CUgraphExec handles. The native API owns its layout.
CUgraphInstantiateResult_enum
Graph instantiation results.
CUgraphInstantiate_flags_enum
Flags for instantiating a graph.
CUgraphMem_attribute_enum
Device-level accounting and limits for memory allocated by CUDA graphs.
CUgraphNodeParams_st
Graph node parameters.
CUgraphNodeType_enum
Graph node types.
CUgraphNode_st
Incomplete native type used by CUgraphNode handles. The native API owns its layout.
CUgraphRecaptureStatus_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.
CUgraphicsMapResourceFlags_enum
Flags for mapping and unmapping interop resources.
CUgraphicsRegisterFlags_enum
Flags to register a graphics resource.
CUgraphicsResource_st
Incomplete native type used by CUgraphicsResource handles. The native API owns its layout.
CUgreenCtxCreate_flags
Flags for green context creation.
CUgreenCtx_st
Incomplete native type used by CUgreenCtx handles. The native API owns its layout.
CUhostTaskSyncMode_enum
Host task synchronization mode
CUipcEventHandle_st
CUDA IPC event handle.
CUipcMemHandle_st
CUDA IPC mem handle.
CUipcMem_flags_enum
CUDA Ipc Mem Flags.
CUjitInputType_enum
Device code formats.
CUjit_cacheMode_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 CUkernel handles. The native API owns its layout.
CUlaunchAttributeID_enum
Launch attributes enum; used as id field of CUlaunchAttribute.
CUlaunchAttributePortableClusterMode_enum
Enum for defining applicability of portable cluster size, used with cuLaunchKernelEx.
CUlaunchAttributeValue_union__bindgen_ty_1
Value of launch attribute CUlaunchAttributeID_enum::CU_LAUNCH_ATTRIBUTE_CLUSTER_DIMENSION that represents the desired cluster dimensions for the kernel. Opaque type with the following fields:
CUlaunchAttributeValue_union__bindgen_ty_2
Value of launch attribute CUlaunchAttributeID_enum::CU_LAUNCH_ATTRIBUTE_PROGRAMMATIC_EVENT with the following fields:
CUlaunchAttributeValue_union__bindgen_ty_3
Value of launch attribute CUlaunchAttributeID_enum::CU_LAUNCH_ATTRIBUTE_LAUNCH_COMPLETION_EVENT with the following fields:
CUlaunchAttributeValue_union__bindgen_ty_4
Value of launch attribute CUlaunchAttributeID_enum::CU_LAUNCH_ATTRIBUTE_PREFERRED_CLUSTER_DIMENSION that represents the desired preferred cluster dimensions for the kernel. Opaque type with the following fields:
CUlaunchAttributeValue_union__bindgen_ty_5
Value of launch attribute CUlaunchAttributeID_enum::CU_LAUNCH_ATTRIBUTE_DEVICE_UPDATABLE_KERNEL_NODE. with the following fields:
CUlaunchAttribute_st
Launch attribute.
CUlaunchConfig_st
CUDA extensible launch configuration.
CUlaunchMemSyncDomainMap_st
Memory Synchronization Domain map.
CUlaunchMemSyncDomain_enum
Memory Synchronization Domain.
CUlib_st
Incomplete native type used by CUlibrary handles. The native API owns its layout.
CUlibraryHostUniversalFunctionAndDataTable_st
Host-side function and data tables supplied through CUlibraryOption_enum::CU_LIBRARY_HOST_UNIVERSAL_FUNCTION_AND_DATA_TABLE.
CUlibraryOption_enum
Library options to be specified with cuLibraryLoadData or cuLibraryLoadFromFile.
CUlimit_enum
Limits.
CUlinkState_st
Incomplete native type used by CUlinkState handles. The native API owns its layout.
CUlogLevel_enum
MANBRIEF error log management functions for the low-level CUDA API (CURRENT_FILE) ENDMANBRIEF
CUlogicalEndpointFabricHandle_st
Fabric handle for a logical endpoint.
CUlogicalEndpointFlag_enum
Flags for CUlogicalEndpointProp.
CUlogicalEndpointIpcHandleType_enum
IPC handle types that can be requested/queried for a given logical endpoint.
CUlogicalEndpointProp_struct
Properties of a logical endpoint construction.
CUlogicalEndpointProp_struct__bindgen_ty_1__bindgen_ty_1
Native layout of the unicast member of CUlogicalEndpointProp_struct__bindgen_ty_1.
CUlogicalEndpointProp_struct__bindgen_ty_1__bindgen_ty_2
Native layout of the multicast member of CUlogicalEndpointProp_struct__bindgen_ty_1.
CUlogicalEndpointType_enum
Logical endpoint type.
CUlogsCallbackEntry_st
Incomplete native type used by CUlogsCallbackHandle handles. The native API owns its layout.
CUmemAccessDesc_st
Memory access descriptor.
CUmemAccess_flags_enum
Specifies the memory protection flags for mapping.
CUmemAllocationCompType_enum
Specifies compression attribute for an allocation.
CUmemAllocationGranularity_flags_enum
Flag for requesting different optimal and required granularities for an allocation.
CUmemAllocationHandleType_enum
Flags for specifying particular handle types.
CUmemAllocationProp_st
Specifies the allocation properties for a allocation.
CUmemAllocationProp_st__bindgen_ty_1
Native layout of the allocFlags member of CUmemAllocationProp_st.
CUmemAllocationType_enum
Defines the allocation types available.
CUmemAttach_flags_enum
CUDA Mem Attach Flags.
CUmemDecompressAlgorithm_enum
Bitmasks for CUdevice_attribute::CU_DEVICE_ATTRIBUTE_MEM_DECOMPRESS_ALGORITHM_MASK.
CUmemDecompressParams_st
Structure describing the parameters that compose a single decompression operation.
CUmemFabricHandle_st
Fabric handle - An opaque handle representing a memory allocation that can be exported to processes in same or different nodes.
CUmemHandleType_enum
Memory handle types.
CUmemLocationType_enum
Specifies the type of location.
CUmemLocation_st
Specifies a memory location.
CUmemLocation_st__bindgen_ty_1__bindgen_ty_1
Native layout of the localized member of CUmemLocation_st__bindgen_ty_1.
CUmemOperationType_enum
Memory operation types.
CUmemPoolHandle_st
Incomplete native type used by CUmemoryPool handles. The native API owns its layout.
CUmemPoolProps_st
Specifies the properties of allocations made from the pool.
CUmemPoolPtrExportData_st
Opaque data for exporting a pool allocation.
CUmemPool_attribute_enum
CUDA memory pool attributes.
CUmemRangeFlags_enum
Flag for requesting handle type for address range.
CUmemRangeHandleType_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.
CUmemcpy3DOperandType_enum
These flags allow applications to convey the operand type for individual copies specified in cuMemcpy3DBatchAsync.
CUmemcpy3DOperand_st
Struct representing an operand for copy with cuMemcpy3DBatchAsync.
CUmemcpy3DOperand_st__bindgen_ty_1__bindgen_ty_1
Struct representing an operand when CUmemcpy3DOperand::type(CUmemcpy3DOperand_st::type_) is CUmemcpy3DOperandType_enum::CU_MEMCPY_OPERAND_TYPE_POINTER
CUmemcpy3DOperand_st__bindgen_ty_1__bindgen_ty_2
Struct representing an operand when CUmemcpy3DOperand::type(CUmemcpy3DOperand_st::type_) is CUmemcpy3DOperandType_enum::CU_MEMCPY_OPERAND_TYPE_ARRAY
CUmemcpyAttributes_st
Attributes specific to copies within a batch.
CUmemcpyFlags_enum
Flags to specify for copies within a batch.
CUmemcpySrcAccessOrder_enum
These flags allow applications to convey the source access ordering CUDA must maintain.
CUmemorytype_enum
Memory types.
CUmipmappedArray_st
Incomplete native type used by CUmipmappedArray handles. The native API owns its layout.
CUmod_st
Incomplete native type used by CUmodule handles. The native API owns its layout.
CUmoduleLoadingMode_enum
CUDA Lazy Loading status.
CUmulticastGranularity_flags_enum
Flags for querying different granularities for a multicast object.
CUmulticastObjectProp_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.
CUprocessState_enum
CUDA Process States.
CUresourceViewFormat_enum
Resource view format.
CUresourcetype_enum
Resource types.
CUsharedMemoryMode_enum
Shared memory related attributes for use with cuLaunchKernelEx.
CUshared_carveout_enum
Shared memory carveout configurations.
CUsharedconfig_enumDeprecated
Shared memory configurations.
CUstreamAtomicReductionDataType_enum
Atomic reduction data types for CUstreamBatchMemOpParams::atomicReduction::dataType.
CUstreamAtomicReductionOpType_enum
Atomic reduction operation types for CUstreamBatchMemOpParams::atomicReduction::reductionOp.
CUstreamBatchMemOpParams_union_CUstreamMemOpAtomicReductionParams_st
Native layout of the atomicReduction member of CUstreamBatchMemOpParams_union.
CUstreamBatchMemOpParams_union_CUstreamMemOpFlushRemoteWritesParams_st
Native layout of the flushRemoteWrites member of CUstreamBatchMemOpParams_union.
CUstreamBatchMemOpParams_union_CUstreamMemOpMemoryBarrierParams_st
Native layout of the memoryBarrier member of CUstreamBatchMemOpParams_union.
CUstreamBatchMemOpParams_union_CUstreamMemOpWaitValueParams_st
Native layout of the waitValue member of CUstreamBatchMemOpParams_union.
CUstreamBatchMemOpParams_union_CUstreamMemOpWriteValueParams_st
Native layout of the writeValue member of CUstreamBatchMemOpParams_union.
CUstreamBatchMemOpType_enum
Operations for cuStreamBatchMemOp.
CUstreamCaptureMode_enum
Possible modes for stream capture thread interactions.
CUstreamCaptureStatus_enum
Possible stream capture statuses returned by cuStreamIsCapturing.
CUstreamCigCaptureParams_st
Params for capturing CUDA stream to CIG streamCigParams must be non-NULL.
CUstreamCigDataType_enum
Graphics-client command-list representation supplied for CUDA-in-Graphics stream capture.
CUstreamCigParam_st
CIG Stream Capture Params.
CUstreamMemoryBarrier_flags_enum
Flags for CUstreamBatchMemOpParams::memoryBarrier.
CUstreamUpdateCaptureDependencies_flags_enum
Flags for cuStreamUpdateCaptureDependencies.
CUstreamWaitValue_flags_enum
Flags for cuStreamWaitValue32 and cuStreamWaitValue64.
CUstreamWriteValue_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 CUsurfref handles. The native API owns its layout.
CUsynchronizationPolicy_enum
Policy used when synchronizing CUDA work.
CUtensorMapDataType_enum
Tensor map data type.
CUtensorMapFloatOOBfill_enum
Tensor map out-of-bounds fill type.
CUtensorMapIm2ColWideMode_enum
Tensor map Im2Col wide mode.
CUtensorMapInterleave_enum
Tensor map interleave layout type.
CUtensorMapL2promotion_enum
Tensor map L2 promotion type.
CUtensorMapSwizzle_enum
Tensor map swizzling mode of shared memory banks.
CUtensorMap_st
Tensor map descriptor.
CUtexref_st
Incomplete native type used by CUtexref handles. The native API owns its layout.
CUuserObjectRetain_flags_enum
Flags for retaining user object references for graphs.
CUuserObject_flags_enum
Flags for user objects for graphs.
CUuserObject_st
Incomplete native type used by CUuserObject handles. The native API owns its layout.
CUuuid_st
CUDA UUID stored as 16 bytes. The bytes are an identifier, not a null-terminated string.
cudaError_enum
CUDA Error types.

Constants§

CUDA_ARRAY3D_2DARRAYDeprecated
use CUDA_ARRAY3D_LAYERED.
CUDA_ARRAY3D_COLOR_ATTACHMENT
This flag indicates that the CUDA array may be bound as a color target in an external graphics API.
CUDA_ARRAY3D_CUBEMAP
If set, the CUDA array is a collection of six 2D arrays, representing faces of a cube.
CUDA_ARRAY3D_DEFERRED_MAPPING
This flag if set indicates that the CUDA array or CUDA mipmapped array will allow deferred memory mapping.
CUDA_ARRAY3D_DEPTH_TEXTURE
This flag if set indicates that the CUDA array is a DEPTH_TEXTURE.
CUDA_ARRAY3D_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_ARRAY3D_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_ARRAY3D_SURFACE_LDST
This flag must be set in order to bind a surface reference to the CUDA array.
CUDA_ARRAY3D_TEXTURE_GATHER
This flag must be set in order to perform texture gather operations on a CUDA array.
CUDA_ARRAY3D_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 cuLaunchCooperativeKernelMultiDevice will 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 cuLaunchCooperativeKernelMultiDevice only 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 flags parameter 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 as CUexternalMemoryHandleType_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 flags parameter 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 as CUexternalMemoryHandleType_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 flags of cuDeviceGetNvSciSyncAttributes is set to this, it indicates that application needs signaler specific NvSciSyncAttr to be filled by cuDeviceGetNvSciSyncAttributes.
CUDA_NVSCISYNC_ATTR_WAIT
When flags of cuDeviceGetNvSciSyncAttributes is set to this, it indicates that application needs waiter specific NvSciSyncAttr to be filled by cuDeviceGetNvSciSyncAttributes.
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§

cuArray3DCreate_v2⚠
Creates a 3D CUDA array.
cuArray3DGetDescriptor_v2⚠
Get a 3D CUDA array descriptor.
cuArrayCreate_v2⚠
Creates a 1D or 2D CUDA array.
cuArrayDestroy⚠
Destroys a CUDA array.
cuArrayGetDescriptor_v2⚠
Get a 1D or 2D CUDA array descriptor.
cuArrayGetMemoryRequirements⚠
Returns the memory requirements of a CUDA array.
cuArrayGetPlane⚠
Gets a CUDA array plane from a CUDA array.
cuArrayGetSparseProperties⚠
Returns the layout properties of a sparse CUDA array.
cuCheckpointOperationComplete⚠
Complete a custom-storage checkpoint or restore operation.
cuCheckpointProcessCheckpoint⚠
Checkpoint a CUDA process’s GPU memory contents.
cuCheckpointProcessGetRestoreThreadId⚠
Returns the restore thread ID for a CUDA process.
cuCheckpointProcessGetState⚠
Returns the process state of a CUDA process.
cuCheckpointProcessLock⚠
Lock a running CUDA process.
cuCheckpointProcessRestore⚠
Restore a CUDA process’s GPU memory contents from its last checkpoint.
cuCheckpointProcessUnlock⚠
Unlock a CUDA process to allow CUDA API calls.
cuCoredumpDeregisterCompleteCallback⚠
Deregister a previously registered coredump complete callback.
cuCoredumpDeregisterStartCallback⚠
Deregister a previously registered coredump start callback.
cuCoredumpGetAttribute⚠
Allows caller to fetch a coredump attribute value for the current context.
cuCoredumpGetAttributeGlobal⚠
Allows caller to fetch a coredump attribute value for the entire application.
cuCoredumpRegisterCompleteCallback⚠
Register a callback to be invoked when a GPU coredump completes.
cuCoredumpRegisterStartCallback⚠
Register a callback to be invoked when a GPU coredump begins.
cuCoredumpSetAttribute⚠
Allows caller to set a coredump attribute value for the current context.
cuCoredumpSetAttributeGlobal⚠
Allows caller to set a coredump attribute value globally.
cuCtxAttach⚠Deprecated
Increment a context’s usage-count.
cuCtxCreate_v4⚠
Create a CUDA context.
cuCtxDestroy_v2⚠
Destroy a CUDA context.
cuCtxDetach⚠Deprecated
Decrement a context’s usage-count.
cuCtxDisablePeerAccess⚠
Disables direct access to memory allocations in a peer context and unregisters any registered allocations.
cuCtxEnablePeerAccess⚠
Enables direct access to memory allocations in a peer context.
cuCtxFromGreenCtx⚠
Returns a CUcontext handle for a green context.
cuCtxGetApiVersion⚠
Gets the context’s API version.
cuCtxGetCacheConfig⚠
Returns the preferred cache configuration for the current context.
cuCtxGetCurrent⚠
Returns the CUDA context bound to the calling CPU thread.
cuCtxGetDevResource⚠
Get context resources.
cuCtxGetDevice⚠
Returns the device handle for the current context.
cuCtxGetDevice_v2⚠
Returns the device handle for the specified context.
cuCtxGetExecAffinity⚠
Returns the execution affinity setting for the current context.
cuCtxGetFlags⚠
Returns the flags for the current context.
cuCtxGetId⚠
Returns the unique Id associated with the context supplied.
cuCtxGetLimit⚠
Returns resource limits.
cuCtxGetSharedMemConfig⚠Deprecated
Returns the current shared memory configuration for the current context.
cuCtxGetStreamPriorityRange⚠
Returns numerical values that correspond to the least and greatest stream priorities.
cuCtxPopCurrent_v2⚠
Pops the current CUDA context from the current CPU thread.
cuCtxPushCurrent_v2⚠
Pushes a context on the current CPU thread.
cuCtxRecordEvent⚠
Records an event.
cuCtxResetPersistingL2Cache⚠
Resets all persisting lines in cache to normal status.
cuCtxSetCacheConfig⚠
Sets the preferred cache configuration for the current context.
cuCtxSetCurrent⚠
Binds the specified CUDA context to the calling CPU thread.
cuCtxSetFlags⚠
Sets the flags for the current context.
cuCtxSetLimit⚠
Set resource limits.
cuCtxSetSharedMemConfig⚠Deprecated
Sets the shared memory configuration for the current context.
cuCtxSynchronize⚠
Block for the current context’s tasks to complete.
cuCtxSynchronize_v2⚠
Block for the specified context’s tasks to complete.
cuCtxWaitEvent⚠
Make a context wait on an event.
cuDestroyExternalMemory⚠
Destroys an external memory object.
cuDestroyExternalSemaphore⚠
Destroys an external semaphore.
cuDevResourceGenerateDesc⚠
Generate a resource descriptor.
cuDevSmResourceSplit⚠
Splits a CUdevResourceType::CU_DEV_RESOURCE_TYPE_SM resource into structured groups.
cuDevSmResourceSplitByCount⚠
Splits CUdevResourceType::CU_DEV_RESOURCE_TYPE_SM resources.
cuDeviceCanAccessPeer⚠
Queries if a device may directly access a peer device’s memory.
cuDeviceComputeCapability⚠Deprecated
Returns the compute capability of the device.
cuDeviceGet⚠
Returns a handle to a compute device.
cuDeviceGetAttribute⚠
Returns information about the device.
cuDeviceGetByPCIBusId⚠
Returns a handle to a compute device.
cuDeviceGetCliqueCount⚠
Retrieves the number of fabric cliques.
cuDeviceGetCliqueInfo⚠
Retrieves fabric clique information.
cuDeviceGetCount⚠
Returns the number of compute-capable devices.
cuDeviceGetDefaultMemPool⚠
Returns the default mempool of a device.
cuDeviceGetDevResource⚠
Get device resources.
cuDeviceGetExecAffinitySupport⚠
Returns information about the execution affinity support of the device.
cuDeviceGetFabricClusterUuid⚠
Retrieves the fabric cluster UUID.
cuDeviceGetGraphMemAttribute⚠
Query asynchronous allocation attributes related to graphs.
cuDeviceGetHostAtomicCapabilities⚠
Queries details about atomic operations supported between the device and host.
cuDeviceGetLuid⚠
Return an LUID and device node mask for the device.
cuDeviceGetMemPool⚠
Gets the current mempool for a device.
cuDeviceGetName⚠
Returns an identifier string for the device.
cuDeviceGetNvSciSyncAttributes⚠
Return NvSciSync attributes that this device can support.
cuDeviceGetP2PAtomicCapabilities⚠
Queries details about atomic operations supported between two devices.
cuDeviceGetP2PAttribute⚠
Queries attributes of the link between two devices.
cuDeviceGetPCIBusId⚠
Returns a PCI Bus Id string for the device.
cuDeviceGetProperties⚠Deprecated
Returns properties for a selected device.
cuDeviceGetTexture1DLinearMaxWidth⚠
Returns the maximum number of elements allocatable in a 1D linear texture for a given texture element size.
cuDeviceGetUuid_v2⚠
Return an UUID for the device.
cuDeviceGraphMemTrim⚠
Free unused memory that was cached on the specified device for use with graphs back to the OS.
cuDevicePrimaryCtxGetState⚠
Get the state of the primary context.
cuDevicePrimaryCtxRelease_v2⚠
Release the primary context on the GPU.
cuDevicePrimaryCtxReset_v2⚠
Destroy all allocations and reset all state on the primary context.
cuDevicePrimaryCtxRetain⚠
Retain the primary context on the GPU.
cuDevicePrimaryCtxSetFlags_v2⚠
Set flags for the primary context.
cuDeviceRegisterAsyncNotification⚠
Registers a callback function to receive async notifications.
cuDeviceSetGraphMemAttribute⚠
Set asynchronous allocation attributes related to graphs.
cuDeviceSetMemPool⚠
Sets the current memory pool of a device.
cuDeviceTotalMem_v2⚠
Returns the total amount of memory on the device.
cuDeviceUnregisterAsyncNotification⚠
Unregisters an async notification callback.
cuDriverGetVersion⚠
Returns the latest CUDA version supported by driver.
cuEventCreate⚠
Creates an event.
cuEventDestroy_v2⚠
Destroys an event.
cuEventElapsedTime_v2⚠
Computes the elapsed time between two events.
cuEventQuery⚠
Queries an event’s status.
cuEventRecord⚠
Records an event.
cuEventRecordWithFlags⚠
Records an event.
cuEventSynchronize⚠
Waits for an event to complete.
cuExternalMemoryGetMappedBuffer⚠
Maps a buffer onto an imported memory object.
cuExternalMemoryGetMappedMipmappedArray⚠
Maps a CUDA mipmapped array onto an external memory object.
cuFlushGPUDirectRDMAWrites⚠
Blocks until remote writes are visible to the specified scope.
cuFuncGetAttribute⚠
Returns information about a function.
cuFuncGetModule⚠
Returns a module handle.
cuFuncGetName⚠
Returns the function name for a CUfunction handle.
cuFuncGetParamCount⚠
Returns the number of parameters used by the function.
cuFuncGetParamInfo⚠
Returns the offset and size of a kernel parameter in the device-side parameter layout.
cuFuncIsLoaded⚠
Returns if the function is loaded.
cuFuncLoad⚠
Loads a function.
cuFuncSetAttribute⚠
Sets information about a function.
cuFuncSetBlockShape⚠Deprecated
Sets the block-dimensions for the function.
cuFuncSetCacheConfig⚠
Sets the preferred cache configuration for a device function.
cuFuncSetSharedMemConfig⚠Deprecated
Sets the shared memory configuration for a device function.
cuFuncSetSharedSize⚠Deprecated
Sets the dynamic shared-memory size for the function.
cuGetErrorName⚠
Gets the string representation of an error code enum name.
cuGetErrorString⚠
Gets the string description of an error code.
cuGetExportTable⚠
Retrieves a driver export table identified by pExportTableId and writes its address to ppExportTable. The table layout is defined by the interface associated with that identifier. Returns a CUDA driver status code.
cuGetProcAddress_v2⚠
Returns the requested driver API function pointer.
cuGraphAddBatchMemOpNode⚠
Creates a batch memory operation node and adds it to a graph.
cuGraphAddChildGraphNode⚠
Creates a child graph node and adds it to a graph.
cuGraphAddDependencies_v2⚠
Adds dependency edges to a graph.
cuGraphAddEmptyNode⚠
Creates an empty node and adds it to a graph.
cuGraphAddEventRecordNode⚠
Creates an event record node and adds it to a graph.
cuGraphAddEventWaitNode⚠
Creates an event wait node and adds it to a graph.
cuGraphAddExternalSemaphoresSignalNode⚠
Creates an external semaphore signal node and adds it to a graph.
cuGraphAddExternalSemaphoresWaitNode⚠
Creates an external semaphore wait node and adds it to a graph.
cuGraphAddHostNode⚠
Creates a host execution node and adds it to a graph.
cuGraphAddKernelNode_v2⚠
Creates a kernel execution node and adds it to a graph.
cuGraphAddMemAllocNode⚠
Creates an allocation node and adds it to a graph.
cuGraphAddMemFreeNode⚠
Creates a memory free node and adds it to a graph.
cuGraphAddMemcpyNode⚠
Creates a memcpy node and adds it to a graph.
cuGraphAddMemsetNode⚠
Creates a memset node and adds it to a graph.
cuGraphAddNode_v2⚠
Adds a node of arbitrary type to a graph.
cuGraphAddNode_v3⚠
Adds a node of arbitrary type to a graph.
cuGraphBatchMemOpNodeGetParams⚠
Returns a batch mem op node’s parameters.
cuGraphBatchMemOpNodeSetParams⚠
Sets a batch mem op node’s parameters.
cuGraphChildGraphNodeGetGraph⚠
Gets a handle to the embedded graph of a child graph node.
cuGraphClone⚠
Clones a graph.
cuGraphConditionalHandleCreate⚠
Create a conditional handle.
cuGraphCreate⚠
Creates a graph.
cuGraphDebugDotPrint⚠
Write a DOT file describing graph structure.
cuGraphDestroy⚠
Destroys a graph.
cuGraphDestroyNode⚠
Remove a node from the graph.
cuGraphEventRecordNodeGetEvent⚠
Returns the event associated with an event record node.
cuGraphEventRecordNodeSetEvent⚠
Sets an event record node’s event.
cuGraphEventWaitNodeGetEvent⚠
Returns the event associated with an event wait node.
cuGraphEventWaitNodeSetEvent⚠
Sets an event wait node’s event.
cuGraphExecBatchMemOpNodeSetParams⚠
Sets the parameters for a batch mem op node in the given graphExec.
cuGraphExecChildGraphNodeSetParams⚠
Updates node parameters in the child graph node in the given graphExec.
cuGraphExecDestroy⚠
Destroys an executable graph.
cuGraphExecEventRecordNodeSetEvent⚠
Sets the event for an event record node in the given graphExec.
cuGraphExecEventWaitNodeSetEvent⚠
Sets the event for an event wait node in the given graphExec.
cuGraphExecExternalSemaphoresSignalNodeSetParams⚠
Sets the parameters for an external semaphore signal node in the given graphExec.
cuGraphExecExternalSemaphoresWaitNodeSetParams⚠
Sets the parameters for an external semaphore wait node in the given graphExec.
cuGraphExecGetFlags⚠
Query the instantiation flags of an executable graph.
cuGraphExecGetId⚠
Returns the id of a given graph exec.
cuGraphExecHostNodeSetParams⚠
Sets the parameters for a host node in the given graphExec.
cuGraphExecKernelNodeSetParams_v2⚠
Sets the parameters for a kernel node in the given graphExec.
cuGraphExecMemcpyNodeSetParams⚠
Sets the parameters for a memcpy node in the given graphExec.
cuGraphExecMemsetNodeSetParams⚠
Sets the parameters for a memset node in the given graphExec.
cuGraphExecNodeSetParams⚠
Update a graph node’s parameters in an instantiated graph.
cuGraphExecUpdate_v2⚠
Check whether an executable graph can be updated with a graph and perform the update if possible.
cuGraphExternalSemaphoresSignalNodeGetParams⚠
Returns an external semaphore signal node’s parameters.
cuGraphExternalSemaphoresSignalNodeSetParams⚠
Sets an external semaphore signal node’s parameters.
cuGraphExternalSemaphoresWaitNodeGetParams⚠
Returns an external semaphore wait node’s parameters.
cuGraphExternalSemaphoresWaitNodeSetParams⚠
Sets an external semaphore wait node’s parameters.
cuGraphGetEdges_v2⚠
Returns a graph’s dependency edges.
cuGraphGetId⚠
Returns the id of a given graph.
cuGraphGetNodes⚠
Returns a graph’s nodes.
cuGraphGetRootNodes⚠
Returns a graph’s root nodes.
cuGraphHostNodeGetParams⚠
Returns a host node’s parameters.
cuGraphHostNodeSetParams⚠
Sets a host node’s parameters.
cuGraphInstantiateWithFlags⚠
Creates an executable graph from a graph
cuGraphInstantiateWithParams⚠
Creates an executable graph from a graph.
cuGraphKernelNodeCopyAttributes⚠
Copies attributes from source node to destination node.
cuGraphKernelNodeGetAttribute⚠
Queries node attribute.
cuGraphKernelNodeGetParams_v2⚠
Returns a kernel node’s parameters.
cuGraphKernelNodeSetAttribute⚠
Sets node attribute.
cuGraphKernelNodeSetParams_v2⚠
Sets a kernel node’s parameters.
cuGraphLaunch⚠
Launches an executable graph in a stream.
cuGraphMemAllocNodeGetParams⚠
Returns a memory alloc node’s parameters.
cuGraphMemFreeNodeGetParams⚠
Returns a memory free node’s parameters.
cuGraphMemcpyNodeGetParams⚠
Returns a memcpy node’s parameters.
cuGraphMemcpyNodeSetParams⚠
Sets a memcpy node’s parameters.
cuGraphMemsetNodeGetParams⚠
Returns a memset node’s parameters.
cuGraphMemsetNodeSetParams⚠
Sets a memset node’s parameters.
cuGraphNodeFindInClone⚠
Finds a cloned version of a node.
cuGraphNodeGetContainingGraph⚠
Returns the graph that contains a given graph node.
cuGraphNodeGetDependencies_v2⚠
Returns a node’s dependencies.
cuGraphNodeGetDependentNodes_v2⚠
Returns a node’s dependent nodes.
cuGraphNodeGetEnabled⚠
Query whether a node in the given graphExec is enabled.
cuGraphNodeGetLocalId⚠
Returns the local node id of a given graph node.
cuGraphNodeGetParams⚠
Return a graph node’s parameters.
cuGraphNodeGetToolsId⚠
Returns an id used by tools to identify a given node.
cuGraphNodeGetType⚠
Returns a node’s type.
cuGraphNodeSetEnabled⚠
Enables or disables the specified node in the given graphExec.
cuGraphNodeSetParams⚠
Update a graph node’s parameters.
cuGraphNodeSetParams_v2⚠
Update a graph node’s parameters.
cuGraphReleaseUserObject⚠
Release a user object reference from a graph.
cuGraphRemoveDependencies_v2⚠
Removes dependency edges from a graph.
cuGraphRetainUserObject⚠
Retain a reference to a user object from a graph.
cuGraphUpload⚠
Uploads an executable graph in a stream.
cuGraphicsMapResources⚠
Map graphics resources for access by CUDA.
cuGraphicsResourceGetMappedMipmappedArray⚠
Get a mipmapped array through which to access a mapped graphics resource.
cuGraphicsResourceGetMappedPointer_v2⚠
Get a device pointer through which to access a mapped graphics resource.
cuGraphicsResourceSetMapFlags_v2⚠
Set usage flags for mapping a graphics resource.
cuGraphicsSubResourceGetMappedArray⚠
Get an array through which to access a subresource of a mapped graphics resource.
cuGraphicsUnmapResources⚠
Unmap graphics resources.
cuGraphicsUnregisterResource⚠
Unregisters a graphics resource for access by CUDA.
cuGreenCtxCreate⚠
Creates a green context with a specified set of resources.
cuGreenCtxDestroy⚠
Destroys a green context.
cuGreenCtxGetDevResource⚠
Get green context resources.
cuGreenCtxGetId⚠
Returns the unique Id associated with the green context supplied.
cuGreenCtxRecordEvent⚠
Records an event.
cuGreenCtxStreamCreate⚠
Create a stream for use in the green context.
cuGreenCtxWaitEvent⚠
Make a green context wait on an event.
cuImportExternalMemory⚠
Imports an external memory object.
cuImportExternalSemaphore⚠
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.
cuIpcCloseMemHandle⚠
Attempts to close memory mapped with cuIpcOpenMemHandle.
cuIpcGetEventHandle⚠
Gets an interprocess handle for a previously allocated event.
cuIpcGetMemHandle⚠
Gets an interprocess memory handle for an existing device memory allocation.
cuIpcOpenEventHandle⚠
Opens an interprocess event handle for use in the current process.
cuIpcOpenMemHandle_v2⚠
Opens an interprocess memory handle exported from another process and returns a device pointer usable in the local process.
cuKernelGetAttribute⚠
Returns information about a kernel.
cuKernelGetFunction⚠
Returns a function handle.
cuKernelGetLibrary⚠
Returns a library handle.
cuKernelGetName⚠
Returns the function name for a CUkernel handle.
cuKernelGetParamCount⚠
Returns the number of parameters used by the kernel.
cuKernelGetParamInfo⚠
Returns the offset and size of a kernel parameter in the device-side parameter layout.
cuKernelSetAttribute⚠
Sets information about a kernel.
cuKernelSetCacheConfig⚠
Sets the preferred cache configuration for a device kernel.
cuLaunch⚠Deprecated
Launches a CUDA function.
cuLaunchCooperativeKernel⚠
Launches a CUDA function CUfunction or a CUDA kernel CUkernel where thread blocks can cooperate and synchronize as they execute.
cuLaunchCooperativeKernelMultiDevice⚠Deprecated
Launches CUDA functions on multiple devices where thread blocks can cooperate and synchronize as they execute.
cuLaunchGrid⚠Deprecated
Launches a CUDA function.
cuLaunchGridAsync⚠Deprecated
Launches a CUDA function.
cuLaunchHostFunc⚠
Enqueues a host function call in a stream.
cuLaunchHostFunc_v2⚠
Enqueues a host function call in a stream.
cuLaunchKernel⚠
Launches a CUDA function CUfunction or a CUDA kernel CUkernel.
cuLaunchKernelEx⚠
Launches a CUDA function CUfunction or a CUDA kernel CUkernel with launch-time configuration.
cuLibraryEnumerateKernels⚠
Retrieve the kernel handles within a library.
cuLibraryGetGlobal⚠
Returns a global device pointer.
cuLibraryGetKernel⚠
Returns a kernel handle.
cuLibraryGetKernelCount⚠
Returns the number of kernels within a library.
cuLibraryGetManaged⚠
Returns a pointer to managed memory.
cuLibraryGetModule⚠
Returns a module handle.
cuLibraryGetUnifiedFunction⚠
Returns a pointer to a unified function.
cuLibraryLoadData⚠
Load a library with specified code and options.
cuLibraryLoadFromFile⚠
Load a library with specified file and options.
cuLibraryUnload⚠
Unloads a library.
cuLinkAddData_v2⚠
Add an input to a pending linker invocation.
cuLinkAddFile_v2⚠
Add a file input to a pending linker invocation.
cuLinkComplete⚠
Complete a pending linker invocation.
cuLinkCreate_v2⚠
Creates a pending JIT linker invocation.
cuLinkDestroy⚠
Destroys state for a JIT linker invocation.
cuLogicalEndpointAddDevice⚠
Associates a device to a multicast logical endpoint.
cuLogicalEndpointBindAddr⚠
Bind a memory allocation represented by a virtual address to a logical endpoint.
cuLogicalEndpointBindMem⚠
Binds memory object represented by a handle to the logical endpoint.
cuLogicalEndpointCreate⚠
Creates a logical endpoint with the requested properties and associates it with the logical endpoint id.
cuLogicalEndpointDestroy⚠
Removes the association of the logical endpoint from the logical endpoint id.
cuLogicalEndpointExport⚠
Exports a logical endpoint associated with leId to an IPC handle.
cuLogicalEndpointGetLimits⚠
Calculates the minimum alignment and the maximum size for the given logical endpoint properties.
cuLogicalEndpointIdRelease⚠
Releases a range of logical endpoint ids.
cuLogicalEndpointIdReserve⚠
Reserves a range of logical endpoint ids.
cuLogicalEndpointImport⚠
Imports a logical endpoint from the given IPC handle and associates it with a logical endpoint id.
cuLogicalEndpointQuery⚠
Determines if all logical endpoints in the range have been successfully constructed.
cuLogicalEndpointUnbind⚠
Unbinds any binding at offset from the logical endpoint.
cuLogsCurrent⚠
Sets log iterator to point to the end of log buffer, where the next message would be written.
cuLogsDumpToFile⚠
Dump accumulated driver logs into a file.
cuLogsDumpToMemory⚠
Dump accumulated driver logs into a buffer.
cuLogsRegisterCallback⚠
Register a callback function to receive error log messages.
cuLogsUnregisterCallback⚠
Unregister a log message callback.
cuMemAddressFree⚠
Free an address range reservation.
cuMemAddressReserve⚠
Allocate an address range reservation.
cuMemAdvise_v2⚠
Advise about the usage of a given memory range.
cuMemAllocAsync⚠
Allocates memory with stream ordered semantics.
cuMemAllocFromPoolAsync⚠
Allocates memory from a specified pool with stream ordered semantics.
cuMemAllocHost_v2⚠
Allocates page-locked host memory.
cuMemAllocManaged⚠
Allocates memory that will be automatically managed by the Unified Memory system.
cuMemAllocPitch_v2⚠
Allocates pitched device memory.
cuMemAlloc_v2⚠
Allocates device memory.
cuMemBatchDecompressAsync⚠
Submit a batch of count independent decompression operations.
cuMemCreate⚠
Create a CUDA memory handle representing a memory allocation of a given size described by the given properties.
cuMemDiscardAndPrefetchBatchAsync⚠
Performs a batch of memory discards and prefetches asynchronously.
cuMemDiscardBatchAsync⚠
Performs a batch of memory discards asynchronously.
cuMemExportToShareableHandle⚠
Exports an allocation to a requested shareable handle type.
cuMemFreeAsync⚠
Frees memory with stream ordered semantics.
cuMemFreeHost⚠
Frees page-locked host memory.
cuMemFree_v2⚠
Frees device memory.
cuMemGetAccess⚠
Get the access flags set for the given location and ptr.
cuMemGetAddressRange_v2⚠
Get information on memory allocations.
cuMemGetAllocationGranularity⚠
Calculates either the minimal or recommended granularity.
cuMemGetAllocationPropertiesFromHandle⚠
Retrieve the contents of the property structure defining properties for this handle.
cuMemGetDefaultMemPool⚠
Returns the default memory pool for a given location and allocation type.
cuMemGetHandleForAddressRange⚠
Retrieve handle for an address range.
cuMemGetInfo_v2⚠
Gets free and total memory.
cuMemGetLocationInfo⚠
Gets residency information for a memory address range.
cuMemGetMemPool⚠
Gets the current memory pool for a memory location and of a particular allocation type.
cuMemHostAlloc⚠
Allocates page-locked host memory.
cuMemHostGetDevicePointer_v2⚠
Passes back device pointer of mapped pinned memory.
cuMemHostGetFlags⚠
Passes back flags that were used for a pinned allocation.
cuMemHostRegister_v2⚠
Registers an existing host memory range for use by CUDA.
cuMemHostUnregister⚠
Unregisters a memory range that was registered with cuMemHostRegister.
cuMemImportFromShareableHandle⚠
Imports an allocation from a requested shareable handle type.
cuMemMap⚠
Maps an allocation handle to a reserved virtual address range.
cuMemMapArrayAsync⚠
Maps or unmaps subregions of sparse CUDA arrays and sparse CUDA mipmapped arrays.
cuMemPoolCreate⚠
Creates a memory pool.
cuMemPoolDestroy⚠
Destroys the specified memory pool.
cuMemPoolExportPointer⚠
Export data to share a memory pool allocation between processes.
cuMemPoolExportToShareableHandle⚠
Exports a memory pool to the requested handle type.
cuMemPoolGetAccess⚠
Returns the accessibility of a pool from a device.
cuMemPoolGetAttribute⚠
Gets attributes of a memory pool.
cuMemPoolImportFromShareableHandle⚠
imports a memory pool from a shared handle.
cuMemPoolImportPointer⚠
Import a memory pool allocation from another process.
cuMemPoolSetAccess⚠
Controls visibility of pools between devices.
cuMemPoolSetAttribute⚠
Sets attributes of a memory pool.
cuMemPoolTrimTo⚠
Tries to release memory back to the OS.
cuMemPrefetchAsync_v2⚠
Prefetches memory to the specified destination location.
cuMemPrefetchBatchAsync⚠
Performs a batch of memory prefetches asynchronously.
cuMemRangeGetAttribute⚠
Query an attribute of a given memory range.
cuMemRangeGetAttributes⚠
Query attributes of a given memory range.
cuMemRelease⚠
Release a memory handle representing a memory allocation which was previously allocated through cuMemCreate.
cuMemRetainAllocationHandle⚠
Given an address addr, returns the allocation handle of the backing memory allocation.
cuMemSetAccess⚠
Set the access flags for each location specified in desc for the given virtual address range.
cuMemSetMemPool⚠
Sets the current memory pool for a memory location and allocation type.
cuMemUnmap⚠
Unmap the backing memory of a given address range.
cuMemcpy⚠
Copies memory.
cuMemcpy2DAsync_v2⚠
Copies memory for 2D arrays.
cuMemcpy2DUnaligned_v2⚠
Copies memory for 2D arrays.
cuMemcpy2D_v2⚠
Copies memory for 2D arrays.
cuMemcpy3DAsync_v2⚠
Copies memory for 3D arrays.
cuMemcpy3DBatchAsync_v2⚠
Performs a batch of 3D memory copies asynchronously.
cuMemcpy3DPeer⚠
Copies memory between contexts.
cuMemcpy3DPeerAsync⚠
Copies memory between contexts asynchronously.
cuMemcpy3DWithAttributesAsync⚠
Performs 3D memory copy with attributes asynchronously.
cuMemcpy3D_v2⚠
Copies memory for 3D arrays.
cuMemcpyAsync⚠
Copies memory asynchronously.
cuMemcpyAtoA_v2⚠
Copies memory from Array to Array.
cuMemcpyAtoD_v2⚠
Copies memory from Array to Device.
cuMemcpyAtoHAsync_v2⚠
Copies memory from Array to Host.
cuMemcpyAtoH_v2⚠
Copies memory from Array to Host.
cuMemcpyBatchAsync_v2⚠
Performs a batch of memory copies asynchronously.
cuMemcpyDtoA_v2⚠
Copies memory from Device to Array.
cuMemcpyDtoDAsync_v2⚠
Copies memory from Device to Device.
cuMemcpyDtoD_v2⚠
Copies memory from Device to Device.
cuMemcpyDtoHAsync_v2⚠
Copies memory from Device to Host.
cuMemcpyDtoH_v2⚠
Copies memory from Device to Host.
cuMemcpyHtoAAsync_v2⚠
Copies memory from Host to Array.
cuMemcpyHtoA_v2⚠
Copies memory from Host to Array.
cuMemcpyHtoDAsync_v2⚠
Copies memory from Host to Device.
cuMemcpyHtoD_v2⚠
Copies memory from Host to Device.
cuMemcpyPeer⚠
Copies device memory between two contexts.
cuMemcpyPeerAsync⚠
Copies device memory between two contexts asynchronously.
cuMemcpyWithAttributesAsync⚠
Performs asynchronous memory copy operation with the specified attributes.
cuMemsetD2D8Async⚠
Sets device memory.
cuMemsetD2D8_v2⚠
Initializes device memory.
cuMemsetD2D16Async⚠
Sets device memory.
cuMemsetD2D16_v2⚠
Initializes device memory.
cuMemsetD2D32Async⚠
Sets device memory.
cuMemsetD2D32_v2⚠
Initializes device memory.
cuMemsetD8Async⚠
Sets device memory.
cuMemsetD8_v2⚠
Initializes device memory.
cuMemsetD16Async⚠
Sets device memory.
cuMemsetD16_v2⚠
Initializes device memory.
cuMemsetD32Async⚠
Sets device memory.
cuMemsetD32_v2⚠
Initializes device memory.
cuMipmappedArrayCreate⚠
Creates a CUDA mipmapped array.
cuMipmappedArrayDestroy⚠
Destroys a CUDA mipmapped array.
cuMipmappedArrayGetLevel⚠
Gets a mipmap level of a CUDA mipmapped array.
cuMipmappedArrayGetMemoryRequirements⚠
Returns the memory requirements of a CUDA mipmapped array.
cuMipmappedArrayGetSparseProperties⚠
Returns the layout properties of a sparse CUDA mipmapped array.
cuModuleEnumerateFunctions⚠
Returns the function handles within a module.
cuModuleGetFunction⚠
Returns a function handle.
cuModuleGetFunctionCount⚠
Returns the number of functions within a module.
cuModuleGetGlobal_v2⚠
Returns a global pointer from a module.
cuModuleGetLoadingMode⚠
Query lazy loading mode.
cuModuleGetSurfRef⚠Deprecated
Returns a handle to a surface reference.
cuModuleGetTexRef⚠Deprecated
Returns a handle to a texture reference.
cuModuleLoad⚠
Loads a compute module.
cuModuleLoadData⚠
Load a module’s data.
cuModuleLoadDataEx⚠
Load a module’s data with options.
cuModuleLoadFatBinary⚠
Load a module’s data.
cuModuleUnload⚠
Unloads a module.
cuMulticastAddDevice⚠
Associate a device to a multicast object.
cuMulticastBindAddr⚠
Bind a memory allocation represented by a virtual address to a multicast object.
cuMulticastBindAddr_v2⚠
Bind a memory allocation represented by a virtual address to a multicast object.
cuMulticastBindMem⚠
Bind a memory allocation represented by a handle to a multicast object.
cuMulticastBindMem_v2⚠
Bind a memory allocation represented by a handle to a multicast object.
cuMulticastCreate⚠
Create a generic allocation handle representing a multicast object described by the given properties.
cuMulticastGetGranularity⚠
Calculates either the minimal or recommended granularity for multicast object.
cuMulticastUnbind⚠
Unbind any memory allocations bound to a multicast object at a given offset and upto a given size.
cuOccupancyAvailableDynamicSMemPerBlock⚠
Returns dynamic shared memory available per block when launching numBlocks blocks on SM.
cuOccupancyMaxActiveBlocksPerMultiprocessor⚠
Returns occupancy of a function.
cuOccupancyMaxActiveBlocksPerMultiprocessorWithFlags⚠
Returns occupancy of a function.
cuOccupancyMaxActiveClusters⚠
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.
cuOccupancyMaxPotentialBlockSize⚠
Suggest a launch configuration with reasonable occupancy.
cuOccupancyMaxPotentialBlockSizeWithFlags⚠
Suggest a launch configuration with reasonable occupancy.
cuOccupancyMaxPotentialClusterSize⚠
Given the kernel function (func) and launch configuration (config), return the maximum cluster size in *clusterSize.
cuParamSetSize⚠Deprecated
Sets the parameter size for the function.
cuParamSetTexRef⚠Deprecated
Adds a texture-reference to the function’s argument list.
cuParamSetf⚠Deprecated
Adds a floating-point parameter to the function’s argument list.
cuParamSeti⚠Deprecated
Adds an integer parameter to the function’s argument list.
cuParamSetv⚠Deprecated
Adds arbitrary data to the function’s argument list.
cuPointerGetAttribute⚠
Returns information about a pointer.
cuPointerGetAttributes⚠
Returns information about a pointer.
cuPointerSetAttribute⚠
Set attributes on a previously allocated memory region.
cuSignalExternalSemaphoresAsync⚠
Signals a set of external semaphore objects.
cuStreamAddCallback⚠
Add a callback to a compute stream.
cuStreamAttachMemAsync⚠
Attach memory to a stream asynchronously.
cuStreamBatchMemOp_v2⚠
Batch operations to synchronize the stream via memory operations.
cuStreamBeginCaptureToCig⚠
Begins capture to CIG on a stream.
cuStreamBeginCaptureToGraph⚠
Begins graph capture on a stream to an existing graph.
cuStreamBeginCapture_v2⚠
Begins graph capture on a stream.
cuStreamBeginRecaptureToGraph⚠
Begin graph capture on a stream to an existing graph.
cuStreamCopyAttributes⚠
Copies attributes from source stream to destination stream.
cuStreamCreate⚠
Create a stream.
cuStreamCreateWithPriority⚠
Create a stream with the given priority.
cuStreamDestroy_v2⚠
Destroys a stream.
cuStreamEndCapture⚠
Ends capture on a stream, returning the captured graph.
cuStreamEndCaptureToCig⚠
Ends CIG capture on a stream.
cuStreamGetAttribute⚠
Queries stream attribute.
cuStreamGetCaptureInfo_v3⚠
Query a stream’s capture state.
cuStreamGetCtx⚠
Query the context associated with a stream.
cuStreamGetCtx_v2⚠
Query the contexts associated with a stream.
cuStreamGetDevResource⚠
Get stream resources.
cuStreamGetDevice⚠
Returns the device handle of the stream.
cuStreamGetFlags⚠
Query the flags of a given stream.
cuStreamGetGreenCtx⚠
Query the green context associated with a stream.
cuStreamGetId⚠
Returns the unique Id associated with the stream handle supplied.
cuStreamGetPriority⚠
Query the priority of a given stream.
cuStreamIsCapturing⚠
Returns a stream’s capture status.
cuStreamQuery⚠
Determine status of a compute stream.
cuStreamSetAttribute⚠
Sets stream attribute.
cuStreamSynchronize⚠
Wait until a stream’s tasks are completed.
cuStreamUpdateCaptureDependencies_v2⚠
Update the set of dependencies in a capturing stream.
cuStreamWaitEvent⚠
Make a compute stream wait on an event.
cuStreamWaitValue32_v2⚠
Wait on a memory location.
cuStreamWaitValue64_v2⚠
Wait on a memory location.
cuStreamWriteValue32_v2⚠
Write a value to memory.
cuStreamWriteValue64_v2⚠
Write a value to memory.
cuSurfObjectCreate⚠
Creates a surface object.
cuSurfObjectDestroy⚠
Destroys a surface object.
cuSurfObjectGetResourceDesc⚠
Returns a surface object’s resource descriptor.
cuSurfRefGetArray⚠Deprecated
Passes back the CUDA array bound to a surface reference.
cuSurfRefSetArray⚠Deprecated
Sets the CUDA array for a surface reference.
cuTensorMapEncodeIm2col⚠
Create a tensor map descriptor object representing im2col memory region.
cuTensorMapEncodeIm2colWide⚠
Create a tensor map descriptor object representing im2col memory region, but where the elements are exclusively loaded along the W dimension.
cuTensorMapEncodeTiled⚠
Create a tensor map descriptor object representing tiled memory region.
cuTensorMapReplaceAddress⚠
Modify an existing tensor map descriptor with an updated global address.
cuTexObjectCreate⚠
Creates a texture object.
cuTexObjectDestroy⚠
Destroys a texture object.
cuTexObjectGetResourceDesc⚠
Returns a texture object’s resource descriptor.
cuTexObjectGetResourceViewDesc⚠
Returns a texture object’s resource view descriptor.
cuTexObjectGetTextureDesc⚠
Returns a texture object’s texture descriptor.
cuTexRefCreate⚠Deprecated
Creates a texture reference.
cuTexRefDestroy⚠Deprecated
Destroys a texture reference.
cuTexRefGetAddressMode⚠Deprecated
Gets the addressing mode used by a texture reference.
cuTexRefGetAddress_v2⚠Deprecated
Gets the address associated with a texture reference.
cuTexRefGetArray⚠Deprecated
Gets the array bound to a texture reference.
cuTexRefGetBorderColor⚠Deprecated
Gets the border color used by a texture reference.
cuTexRefGetFilterMode⚠Deprecated
Gets the filter-mode used by a texture reference.
cuTexRefGetFlags⚠Deprecated
Gets the flags used by a texture reference.
cuTexRefGetFormat⚠Deprecated
Gets the format used by a texture reference.
cuTexRefGetMaxAnisotropy⚠Deprecated
Gets the maximum anisotropy for a texture reference.
cuTexRefGetMipmapFilterMode⚠Deprecated
Gets the mipmap filtering mode for a texture reference.
cuTexRefGetMipmapLevelBias⚠Deprecated
Gets the mipmap level bias for a texture reference.
cuTexRefGetMipmapLevelClamp⚠Deprecated
Gets the min/max mipmap level clamps for a texture reference.
cuTexRefGetMipmappedArray⚠Deprecated
Gets the mipmapped array bound to a texture reference.
cuTexRefSetAddress2D_v3⚠Deprecated
Binds an address as a 2D texture reference.
cuTexRefSetAddressMode⚠Deprecated
Sets the addressing mode for a texture reference.
cuTexRefSetAddress_v2⚠Deprecated
Binds an address as a texture reference.
cuTexRefSetArray⚠Deprecated
Binds an array as a texture reference.
cuTexRefSetBorderColor⚠Deprecated
Sets the border color for a texture reference.
cuTexRefSetFilterMode⚠Deprecated
Sets the filtering mode for a texture reference.
cuTexRefSetFlags⚠Deprecated
Sets the flags for a texture reference.
cuTexRefSetFormat⚠Deprecated
Sets the format for a texture reference.
cuTexRefSetMaxAnisotropy⚠Deprecated
Sets the maximum anisotropy for a texture reference.
cuTexRefSetMipmapFilterMode⚠Deprecated
Sets the mipmap filtering mode for a texture reference.
cuTexRefSetMipmapLevelBias⚠Deprecated
Sets the mipmap level bias for a texture reference.
cuTexRefSetMipmapLevelClamp⚠Deprecated
Sets the mipmap min/max mipmap level clamps for a texture reference.
cuTexRefSetMipmappedArray⚠Deprecated
Binds a mipmapped array to a texture reference.
cuThreadExchangeStreamCaptureMode⚠
Swaps the stream capture interaction mode for a thread.
cuUserObjectCreate⚠
Create a user object.
cuUserObjectRelease⚠
Release a reference to a user object.
cuUserObjectRetain⚠
Retain a reference to a user object.
cuWaitExternalSemaphoresAsync⚠
Waits on a set of external semaphore objects.

Type Aliases§

CUDA_ARRAY3D_DESCRIPTOR
3D array descriptor
CUDA_ARRAY3D_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_MEMCPY2D
2D memory copy parameters
CUDA_MEMCPY2D_v2
2D memory copy parameters.
CUDA_MEMCPY3D
3D memory copy parameters
CUDA_MEMCPY3D_BATCH_OP
One source, destination, extent, and access-order specification in a batched three-dimensional copy.
CUDA_MEMCPY3D_BATCH_OP_v1
One source, destination, extent, and access-order specification in a batched three-dimensional copy.
CUDA_MEMCPY3D_PEER
3D memory cross-context copy parameters
CUDA_MEMCPY3D_PEER_v1
3D memory cross-context copy parameters.
CUDA_MEMCPY3D_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.
CUaccessPolicyWindow
Access policy window.
CUaccessPolicyWindow_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.
CUarrayMapInfo
Specifies the CUDA array or CUDA mipmapped array memory mapping information
CUarrayMapInfo_v1
Specifies the CUDA array or CUDA mipmapped array memory mapping information.
CUasyncCallback
CUDA async notification callback.
CUasyncCallbackHandle
CUDA async notification callback handle.
CUasyncNotificationInfo
Information passed to the user via the async notification callback.
CUcheckpointCheckpointArgs
CUDA checkpoint optional checkpoint arguments.
CUcheckpointCustomStorageInfo
Output from CUDA custom storage checkpoint/restore: per-GPU device pointers and a handle to complete the operation.
CUcheckpointCustomStoragePerDeviceData
Per-GPU data for zero-copy mapped device memory used with CUDA checkpoint/restore on custom storage.
CUcheckpointGpuPair
CUDA checkpoint GPU UUID pairs for device remapping during restore.
CUcheckpointLockArgs
CUDA checkpoint optional lock arguments.
CUcheckpointOperationHandle
Handle for a CUDA custom storage checkpoint or restore operation awaiting completion.
CUcheckpointRestoreArgs
CUDA checkpoint optional restore arguments.
CUcheckpointUnlockArgs
CUDA checkpoint optional unlock arguments.
CUcliqueInfo
Fabric clique information.
CUcontext
A regular context handle.
CUcoredumpCallbackHandle
Opaque handle representing a registered coredump status callback.
CUcoredumpStatusCallback
Callback function prototype for GPU coredump status notifications.
CUctxCigParam
CIG Context Create Params.
CUctxCreateParams
Params for creating CUDA context.
CUdevResource
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.
CUdevResourceDesc
An opaque descriptor handle. The descriptor encapsulates multiple created and configured resources. Created via cuDevResourceGenerateDesc.
CUdevResource_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.
CUdevSmResource
Data for SM-related resources All parameters in this structure are OUTPUT only. Do not write to any of the fields in this structure.
CUdevWorkqueueConfigResource
Data for workqueue configuration related resources.
CUdevWorkqueueResource
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.
CUexecAffinityParam
Execution Affinity Parameters.
CUexecAffinityParam_v1
Execution Affinity Parameters.
CUexecAffinitySmCount
Value for CUexecAffinityType_enum::CU_EXEC_AFFINITY_TYPE_SM_COUNT
CUexecAffinitySmCount_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.
CUexternalMemory
CUDA external memory.
CUexternalSemaphore
CUDA external semaphore.
CUfunction
CUDA function.
CUgraph
CUDA graph.
CUgraphConditionalHandle
CUDA graph conditional handle.
CUgraphDeviceNode
CUDA graph device node handle.
CUgraphEdgeData
Optional annotation for edges in a CUDA graph.
CUgraphExec
CUDA executable graph.
CUgraphExecUpdateResultInfo
Result information returned by cuGraphExecUpdate
CUgraphExecUpdateResultInfo_v1
Result information returned by cuGraphExecUpdate.
CUgraphNode
CUDA graph node.
CUgraphNodeParams
Graph node parameters.
CUgraphRecaptureCallback
Callback function invoked when node parameter mismatches are detected while recapturing to an existing graph.
CUgraphicsResource
CUDA graphics interop resource.
CUgreenCtx
A green context handle. This handle can be used safely from only one CPU thread at a time. Created via cuGreenCtxCreate.
CUhostFn
CUDA host function.
CUipcEventHandle
CUDA IPC event handle
CUipcEventHandle_v1
CUDA IPC event handle.
CUipcMemHandle
CUDA IPC mem handle
CUipcMemHandle_v1
CUDA IPC mem handle.
CUkernel
CUDA kernel.
CUkernelNodeAttrValue
Launch attributes union; used as value field of CUlaunchAttribute
CUkernelNodeAttrValue_v1
Launch attributes union; used as value field of CUlaunchAttribute
CUlaunchAttribute
Launch attribute.
CUlaunchAttributeValue
Launch attributes union; used as value field of CUlaunchAttribute.
CUlaunchConfig
CUDA extensible launch configuration.
CUlaunchMemSyncDomainMap
Memory Synchronization Domain map.
CUlibrary
CUDA library.
CUlibraryHostUniversalFunctionAndDataTable
Host-side function and data tables supplied through CUlibraryOption_enum::CU_LIBRARY_HOST_UNIVERSAL_FUNCTION_AND_DATA_TABLE.
CUlinkState
Opaque state of a CUDA driver JIT linking session, created by cuLinkCreate and released by cuLinkDestroy.
CUlogIterator
Native cursor used to iterate through CUDA driver log messages.
CUlogicalEndpointFabricHandle
Fabric handle for a logical endpoint.
CUlogicalEndpointId
An ID that represents a logical endpoint.
CUlogicalEndpointProp
Properties of a logical endpoint construction.
CUlogsCallback
MANBRIEF error log management functions for the low-level CUDA API (CURRENT_FILE) ENDMANBRIEF
CUlogsCallbackHandle
Opaque registration handle returned by the CUDA driver logging callback API.
CUmemAccessDesc
Memory access descriptor
CUmemAccessDesc_v1
Memory access descriptor.
CUmemAllocationProp
Specifies the allocation properties for a allocation.
CUmemAllocationProp_v1
Specifies the allocation properties for a allocation.
CUmemDecompressParams
Structure describing the parameters that compose a single decompression operation.
CUmemFabricHandle
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.
CUmemFabricHandle_v1
Fabric handle - An opaque handle representing a memory allocation that can be exported to processes in same or different nodes.
CUmemGenericAllocationHandle
Opaque handle to a CUDA virtual-memory allocation. The handle identifies an allocation, not a device address; mappings are established separately with cuMemMap.
CUmemGenericAllocationHandle_v1
Opaque handle to a CUDA virtual-memory allocation. The handle identifies an allocation, not a device address; mappings are established separately with cuMemMap.
CUmemLocation
Specifies a memory location.
CUmemLocation_v1
Specifies a memory location.
CUmemPoolProps
Specifies the properties of allocations made from the pool.
CUmemPoolProps_v1
Specifies the properties of allocations made from the pool.
CUmemPoolPtrExportData
Opaque data for exporting a pool allocation
CUmemPoolPtrExportData_v1
Opaque data for exporting a pool allocation.
CUmemcpy3DOperand
Struct representing an operand for copy with cuMemcpy3DBatchAsync
CUmemcpy3DOperand_v1
Struct representing an operand for copy with cuMemcpy3DBatchAsync.
CUmemcpyAttributes
Attributes specific to copies within a batch. For more details on usage see cuMemcpyBatchAsync.
CUmemcpyAttributes_v1
Attributes specific to copies within a batch.
CUmemoryPool
CUDA memory pool.
CUmipmappedArray
CUDA mipmapped array.
CUmodule
CUDA module.
CUmulticastObjectProp
Specifies the properties for a multicast object.
CUmulticastObjectProp_v1
Specifies the properties for a multicast object.
CUoccupancyB2DSize
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.
CUstreamAttrValue
Launch attributes union; used as value field of CUlaunchAttribute
CUstreamAttrValue_v1
Launch attributes union; used as value field of CUlaunchAttribute
CUstreamBatchMemOpParams
Per-operation parameters for cuStreamBatchMemOp
CUstreamBatchMemOpParams_v1
Per-operation parameters for cuStreamBatchMemOp.
CUstreamCallback
CUDA stream callback.
CUstreamCigCaptureParams
Params for capturing CUDA stream to CIG streamCigParams must be non-NULL.
CUstreamCigParam
CIG Stream Capture Params.
CUsurfObject
An opaque value that represents a CUDA surface object.
CUsurfObject_v1
An opaque value that represents a CUDA surface object.
CUsurfref
CUDA surface reference.
CUtensorMap
Tensor map descriptor.
CUtexObject
An opaque value that represents a CUDA texture object.
CUtexObject_v1
An opaque value that represents a CUDA texture object.
CUtexref
CUDA texture reference.
CUuserObject
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 handle member of CUDA_EXTERNAL_MEMORY_HANDLE_DESC_st.
CUDA_EXTERNAL_SEMAPHORE_HANDLE_DESC_st__bindgen_ty_1
Native layout of the handle member of CUDA_EXTERNAL_SEMAPHORE_HANDLE_DESC_st.
CUDA_EXTERNAL_SEMAPHORE_SIGNAL_PARAMS_st__bindgen_ty_1__bindgen_ty_2
Native layout of the nvSciSync member of CUDA_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 res member of CUDA_RESOURCE_DESC_st.
CUarrayMapInfo_st__bindgen_ty_1
Native layout of the resource member of CUarrayMapInfo_st.
CUarrayMapInfo_st__bindgen_ty_2
Native layout of the subresource member of CUarrayMapInfo_st.
CUarrayMapInfo_st__bindgen_ty_3
Native layout of the memHandle member of CUarrayMapInfo_st.
CUasyncNotificationInfo_st__bindgen_ty_1
Native layout of the info member of CUasyncNotificationInfo_st.
CUdevResource_st__bindgen_ty_1
Anonymous native union in CUdevResource_st. Its members share the same storage.
CUexecAffinityParam_st__bindgen_ty_1
Native layout of the param member of CUexecAffinityParam_st.
CUgraphNodeParams_st__bindgen_ty_1
Anonymous native union in CUgraphNodeParams_st. Its members share the same storage.
CUlaunchAttributeValue_union
Launch attributes union; used as value field of CUlaunchAttribute.
CUlogicalEndpointProp_struct__bindgen_ty_1
Anonymous native union in CUlogicalEndpointProp_struct. Its members share the same storage.
CUmemLocation_st__bindgen_ty_1
Anonymous native union in CUmemLocation_st. Its members share the same storage.
CUmemcpy3DOperand_st__bindgen_ty_1
Native layout of the op member of CUmemcpy3DOperand_st.
CUstreamBatchMemOpParams_union
Per-operation parameters for cuStreamBatchMemOp.
CUstreamBatchMemOpParams_union_CUstreamMemOpWaitValueParams_st__bindgen_ty_1
Anonymous native union in CUstreamBatchMemOpParams_union_CUstreamMemOpWaitValueParams_st. Its members share the same storage.
CUstreamBatchMemOpParams_union_CUstreamMemOpWriteValueParams_st__bindgen_ty_1
Anonymous native union in CUstreamBatchMemOpParams_union_CUstreamMemOpWriteValueParams_st. Its members share the same storage.