Crate cuda_sys Copy item path Source 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 CUDA_BATCH_MEM_OP_NODE_PARAMS_v1_st 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 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 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_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 Access flags that specify the level of access the current context’s device has
on the memory referenced.
Access flags that specify the level of access the current context’s device has
on the memory referenced. 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 CUDA_RESOURCE_DESC_st__bindgen_ty_1__bindgen_ty_2 CUDA_RESOURCE_DESC_st__bindgen_ty_1__bindgen_ty_3 CUDA_RESOURCE_DESC_st__bindgen_ty_1__bindgen_ty_4 CUDA_RESOURCE_DESC_st__bindgen_ty_1__bindgen_ty_5 CUDA_RESOURCE_VIEW_DESC_st Resource view descriptor CUDA_TEXTURE_DESC_st Texture descriptor CUGPUDirectRDMAWritesOrdering Platform native ordering for GPUDirect RDMA writes
Platform native ordering for GPUDirect RDMA writes CUGPUDirectRDMAWritesOrdering_enum Platform native ordering for GPUDirect RDMA writes 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.
num_bytes is limited by CU_DEVICE_ATTRIBUTE_MAX_ACCESS_POLICY_WINDOW_SIZE.
Partition into many segments and assign segments such that:
sum of “hit segments” / window == approx. ratio.
sum of “miss segments” / window == approx 1-ratio.
Segments and ratio specifications are fitted to the capabilities of
the architecture.
Accesses in a hit segment apply the hitProp access policy.
Accesses in a miss segment apply the missProp access policy. CUaccessProperty Specifies performance hint with ::CUaccessPolicyWindow for hitProp and missProp members.
Specifies performance hint with ::CUaccessPolicyWindow for hitProp and missProp members. CUaccessProperty_enum Specifies performance hint with ::CUaccessPolicyWindow for hitProp and missProp members. CUaddress_mode Texture reference addressing modes
Texture reference addressing modes 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 CUarrayMapInfo_st__bindgen_ty_2__bindgen_ty_2 CUarraySparseSubresourceType Sparse subresource types
Sparse subresource types CUarraySparseSubresourceType_enum Sparse subresource types CUarray_cubemap_face Array indices for cube faces
Array indices for cube faces CUarray_cubemap_face_enum Array indices for cube faces CUarray_format Array formats
Array formats CUarray_format_enum Array formats CUarray_st CUasyncCallbackEntry_st CUasyncNotificationInfo_st Information passed to the user via the async notification callback CUasyncNotificationInfo_st__bindgen_ty_1__bindgen_ty_1 CUasyncNotificationType Types of async notification that can be sent
Types of async notification that can be sent CUasyncNotificationType_enum Types of async notification that can be sent CUcigDataType CUcigDataType_enum CUclusterSchedulingPolicy Cluster scheduling policies. These may be passed to ::cuFuncSetAttribute or ::cuKernelSetAttribute
Cluster scheduling policies. These may be passed to ::cuFuncSetAttribute or ::cuKernelSetAttribute CUclusterSchedulingPolicy_enum Cluster scheduling policies. These may be passed to ::cuFuncSetAttribute or ::cuKernelSetAttribute CUcomputemode Compute Modes
Compute Modes CUcomputemode_enum Compute Modes CUcoredumpSettings Flags for choosing a coredump attribute to get/set
Flags for choosing a coredump attribute to get/set CUcoredumpSettings_enum Flags for choosing a coredump attribute to get/set CUctxCigParam_st CIG Context Create Params CUctxCreateParams_st Params for creating CUDA context
Exactly one of execAffinityParams and cigParams
must be non-NULL. CUctx_flags Context creation flags
Context creation flags CUctx_flags_enum Context creation flags CUctx_st CUdevResourceDesc_st CUdevResourceType \typedef enum CUdevResourceType
Type of resource CUdevResource_st \struct 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.
\code
struct {
CUdevResourceType type;
union {
CUdevSmResource sm;
};
};
\endcode CUdevSmResourceSplit_flags CUdevSmResource_st \struct CUdevSmResource
Data for SM-related resources CUdeviceNumaConfig CUDA device NUMA configuration
CUDA device NUMA configuration CUdeviceNumaConfig_enum CUDA device NUMA configuration CUdevice_P2PAttribute P2P Attributes
P2P Attributes CUdevice_P2PAttribute_enum P2P Attributes CUdevice_attribute Device properties
Device properties CUdevice_attribute_enum Device properties CUdevprop_st Legacy device properties CUdriverProcAddressQueryResult Flags to indicate search status. For more details see ::cuGetProcAddress
Flags to indicate search status. For more details see ::cuGetProcAddress CUdriverProcAddressQueryResult_enum Flags to indicate search status. For more details see ::cuGetProcAddress CUdriverProcAddress_flags Flags to specify search options. For more details see ::cuGetProcAddress
Flags to specify search options. For more details see ::cuGetProcAddress CUdriverProcAddress_flags_enum Flags to specify search options. For more details see ::cuGetProcAddress CUevent_flags Event creation flags
Event creation flags CUevent_flags_enum Event creation flags CUevent_record_flags Event record flags
Event record flags CUevent_record_flags_enum Event record flags CUevent_sched_flags Event sched flags
Event sched flags CUevent_sched_flags_enum Event sched flags CUevent_st CUevent_wait_flags Event wait flags
Event wait flags CUevent_wait_flags_enum Event wait flags CUexecAffinityParam_st Execution Affinity Parameters CUexecAffinitySmCount_st Value for ::CU_EXEC_AFFINITY_TYPE_SM_COUNT CUexecAffinityType Execution Affinity Types
Execution Affinity Types CUexecAffinityType_enum Execution Affinity Types CUextMemory_st CUextSemaphore_st CUexternalMemoryHandleType External memory handle types
External memory handle types CUexternalMemoryHandleType_enum External memory handle types CUexternalMemory_st CUexternalSemaphoreHandleType External semaphore handle types
External semaphore handle types CUexternalSemaphoreHandleType_enum External semaphore handle types CUexternalSemaphore_st CUfilter_mode Texture reference filtering modes
Texture reference filtering modes CUfilter_mode_enum Texture reference filtering modes CUflushGPUDirectRDMAWritesOptions Bitmasks for ::CU_DEVICE_ATTRIBUTE_GPU_DIRECT_RDMA_FLUSH_WRITES_OPTIONS
Bitmasks for ::CU_DEVICE_ATTRIBUTE_GPU_DIRECT_RDMA_FLUSH_WRITES_OPTIONS CUflushGPUDirectRDMAWritesOptions_enum Bitmasks for ::CU_DEVICE_ATTRIBUTE_GPU_DIRECT_RDMA_FLUSH_WRITES_OPTIONS CUflushGPUDirectRDMAWritesScope The scopes for ::cuFlushGPUDirectRDMAWrites
The scopes for ::cuFlushGPUDirectRDMAWrites CUflushGPUDirectRDMAWritesScope_enum The scopes for ::cuFlushGPUDirectRDMAWrites CUflushGPUDirectRDMAWritesTarget The targets for ::cuFlushGPUDirectRDMAWrites
The targets for ::cuFlushGPUDirectRDMAWrites CUflushGPUDirectRDMAWritesTarget_enum The targets for ::cuFlushGPUDirectRDMAWrites CUfunc_cache Function cache configurations
Function cache configurations CUfunc_cache_enum Function cache configurations CUfunc_st CUfunctionLoadingState CUfunctionLoadingState_enum CUfunction_attribute Function properties
Function properties CUfunction_attribute_enum Function properties CUgraphConditionalNodeType Conditional node types
Conditional node types CUgraphConditionalNodeType_enum Conditional node types CUgraphDebugDot_flags The additional write options for ::cuGraphDebugDotPrint
The additional write options for ::cuGraphDebugDotPrint CUgraphDebugDot_flags_enum The additional write options for ::cuGraphDebugDotPrint CUgraphDependencyType Type annotations that can be applied to graph edges as part of ::CUgraphEdgeData.
Type annotations that can be applied to graph edges as part of ::CUgraphEdgeData. CUgraphDependencyType_enum Type annotations that can be applied to graph edges as part of ::CUgraphEdgeData. CUgraphDeviceUpdatableNode_st CUgraphEdgeData_st Optional annotation for edges in a CUDA graph. Note, all edges implicitly have annotations and
default to a zero-initialized value if not specified. A zero-initialized struct indicates a
standard full serialization of two nodes with memory visibility. CUgraphExecUpdateResult CUDA Graph Update error types
CUDA Graph Update error types CUgraphExecUpdateResultInfo_st Result information returned by cuGraphExecUpdate CUgraphExecUpdateResult_enum CUDA Graph Update error types CUgraphExec_st CUgraphInstantiateResult Graph instantiation results
Graph instantiation results CUgraphInstantiateResult_enum Graph instantiation results CUgraphInstantiate_flags Flags for instantiating a graph
Flags for instantiating a graph CUgraphInstantiate_flags_enum Flags for instantiating a graph CUgraphMem_attribute CUgraphMem_attribute_enum CUgraphNodeParams_st Graph node parameters. See ::cuGraphAddNode. CUgraphNodeType Graph node types
Graph node types CUgraphNodeType_enum Graph node types CUgraphNode_st CUgraph_st CUgraphicsMapResourceFlags Flags for mapping and unmapping interop resources
Flags for mapping and unmapping interop resources CUgraphicsMapResourceFlags_enum Flags for mapping and unmapping interop resources CUgraphicsRegisterFlags Flags to register a graphics resource
Flags to register a graphics resource CUgraphicsRegisterFlags_enum Flags to register a graphics resource CUgraphicsResource_st CUgreenCtxCreate_flags CUgreenCtx_st CUipcEventHandle_st CUDA IPC event handle CUipcMemHandle_st CUDA IPC mem handle CUipcMem_flags CUDA Ipc Mem Flags
CUDA Ipc Mem Flags CUipcMem_flags_enum CUDA Ipc Mem Flags CUjitInputType Device code formats
Device code formats CUjitInputType_enum Device code formats CUjit_cacheMode Caching modes for dlcm
Caching modes for dlcm CUjit_cacheMode_enum Caching modes for dlcm CUjit_fallback Cubin matching fallback strategies
Cubin matching fallback strategies CUjit_fallback_enum Cubin matching fallback strategies CUjit_option Online compiler and linker options
Online compiler and linker options CUjit_option_enum Online compiler and linker options CUjit_target Online compilation targets
Online compilation targets CUjit_target_enum Online compilation targets CUkern_st CUkernelNodeAttrID Launch attributes enum; used as id field of ::CUlaunchAttribute
Launch attributes enum; used as id field of ::CUlaunchAttribute
Launch attributes enum; used as id field of ::CUlaunchAttribute CUlaunchAttributeID Launch attributes enum; used as id field of ::CUlaunchAttribute
Launch attributes enum; used as id field of ::CUlaunchAttribute CUlaunchAttributeID_enum Launch attributes enum; used as id field of ::CUlaunchAttribute CUlaunchAttributeValue_union__bindgen_ty_1 Value of launch attribute ::CU_LAUNCH_ATTRIBUTE_CLUSTER_DIMENSION that
represents the desired cluster dimensions for the kernel. Opaque type
with the following fields:
- \p x - The X dimension of the cluster, in blocks. Must be a divisor
of the grid X dimension.
- \p y - The Y dimension of the cluster, in blocks. Must be a divisor
of the grid Y dimension.
- \p z - The Z dimension of the cluster, in blocks. Must be a divisor
of the grid Z dimension. CUlaunchAttributeValue_union__bindgen_ty_2 Value of launch attribute ::CU_LAUNCH_ATTRIBUTE_PROGRAMMATIC_EVENT
with the following fields:
- \p CUevent event - Event to fire when all blocks trigger it.
- \p Event record flags, see ::cuEventRecordWithFlags. Does not accept :CU_EVENT_RECORD_EXTERNAL.
- \p triggerAtBlockStart - If this is set to non-0, each block launch will automatically trigger the event. CUlaunchAttributeValue_union__bindgen_ty_3 Value of launch attribute ::CU_LAUNCH_ATTRIBUTE_LAUNCH_COMPLETION_EVENT
with the following fields:
- \p CUevent event - Event to fire when the last block launches
- \p int flags; - Event record flags, see ::cuEventRecordWithFlags. Does not accept ::CU_EVENT_RECORD_EXTERNAL. CUlaunchAttributeValue_union__bindgen_ty_4 Value of launch attribute ::CU_LAUNCH_ATTRIBUTE_DEVICE_UPDATABLE_KERNEL_NODE.
with the following fields:
- \p int deviceUpdatable - Whether or not the resulting kernel node should be device-updatable.
- \p CUgraphDeviceNode devNode - Returns a handle to pass to the various device-side update functions. CUlaunchAttribute_st Launch attribute CUlaunchConfig_st CUDA extensible launch configuration CUlaunchMemSyncDomain Memory Synchronization Domain CUlaunchMemSyncDomainMap_st Memory Synchronization Domain map CUlaunchMemSyncDomain_enum Memory Synchronization Domain CUlib_st CUlibraryHostUniversalFunctionAndDataTable_st CUlibraryOption Library options to be specified with ::cuLibraryLoadData() or ::cuLibraryLoadFromFile()
Library options to be specified with ::cuLibraryLoadData() or ::cuLibraryLoadFromFile() CUlibraryOption_enum Library options to be specified with ::cuLibraryLoadData() or ::cuLibraryLoadFromFile() CUlimit Limits
Limits CUlimit_enum Limits CUlinkState_st CUmemAccessDesc_st Memory access descriptor CUmemAccess_flags Specifies the memory protection flags for mapping.
Specifies the memory protection flags for mapping. CUmemAccess_flags_enum Specifies the memory protection flags for mapping. CUmemAllocationCompType Specifies compression attribute for an allocation.
Specifies compression attribute for an allocation. CUmemAllocationCompType_enum Specifies compression attribute for an allocation. CUmemAllocationGranularity_flags Flag for requesting different optimal and required granularities for an allocation.
Flag for requesting different optimal and required granularities for an allocation. CUmemAllocationGranularity_flags_enum Flag for requesting different optimal and required granularities for an allocation. CUmemAllocationHandleType Flags for specifying particular handle types
Flags for specifying particular handle types CUmemAllocationHandleType_enum Flags for specifying particular handle types CUmemAllocationProp_st Specifies the allocation properties for a allocation. CUmemAllocationProp_st__bindgen_ty_1 CUmemAllocationType Defines the allocation types available
Defines the allocation types available CUmemAllocationType_enum Defines the allocation types available CUmemAttach_flags CUDA Mem Attach Flags
CUDA Mem Attach Flags CUmemAttach_flags_enum CUDA Mem Attach Flags CUmemFabricHandle_st 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. CUmemHandleType Memory handle types
Memory handle types CUmemHandleType_enum Memory handle types CUmemLocationType Specifies the type of location
Specifies the type of location CUmemLocationType_enum Specifies the type of location CUmemLocation_st Specifies a memory location. CUmemOperationType Memory operation types
Memory operation types CUmemOperationType_enum Memory operation types CUmemPoolHandle_st CUmemPoolProps_st Specifies the properties of allocations made from the pool. CUmemPoolPtrExportData_st Opaque data for exporting a pool allocation CUmemPool_attribute CUDA memory pool attributes
CUDA memory pool attributes CUmemPool_attribute_enum CUDA memory pool attributes CUmemRangeHandleType Specifies the handle type for address range
Specifies the handle type for address range CUmemRangeHandleType_enum Specifies the handle type for address range CUmem_advise Memory advise values
Memory advise values CUmem_advise_enum Memory advise values CUmem_range_attribute CUmem_range_attribute_enum CUmemorytype Memory types
Memory types CUmemorytype_enum Memory types CUmipmappedArray_st CUmod_st CUmoduleLoadingMode CUDA Lazy Loading status
CUDA Lazy Loading status CUmoduleLoadingMode_enum CUDA Lazy Loading status CUmulticastGranularity_flags Flags for querying different granularities for a multicast object
Flags for querying different granularities for a multicast object CUmulticastGranularity_flags_enum Flags for querying different granularities for a multicast object CUmulticastObjectProp_st Specifies the properties for a multicast object. CUoccupancy_flags Occupancy calculator flag
Occupancy calculator flag CUoccupancy_flags_enum Occupancy calculator flag CUpointer_attribute Pointer information
Pointer information CUpointer_attribute_enum Pointer information CUresourceViewFormat Resource view format
Resource view format CUresourceViewFormat_enum Resource view format CUresourcetype Resource types
Resource types CUresourcetype_enum Resource types CUresult Error codes
Error codes CUshared_carveout Shared memory carveout configurations. These may be passed to ::cuFuncSetAttribute or ::cuKernelSetAttribute
Shared memory carveout configurations. These may be passed to ::cuFuncSetAttribute or ::cuKernelSetAttribute CUshared_carveout_enum Shared memory carveout configurations. These may be passed to ::cuFuncSetAttribute or ::cuKernelSetAttribute CUsharedconfig \deprecated CUsharedconfig_enum \deprecated CUstreamAttrID Launch attributes enum; used as id field of ::CUlaunchAttribute
Launch attributes enum; used as id field of ::CUlaunchAttribute
Launch attributes enum; used as id field of ::CUlaunchAttribute CUstreamBatchMemOpParams_union_CUstreamMemOpFlushRemoteWritesParams_st CUstreamBatchMemOpParams_union_CUstreamMemOpMemoryBarrierParams_st CUstreamBatchMemOpParams_union_CUstreamMemOpWaitValueParams_st CUstreamBatchMemOpParams_union_CUstreamMemOpWriteValueParams_st CUstreamBatchMemOpType Operations for ::cuStreamBatchMemOp
Operations for ::cuStreamBatchMemOp CUstreamBatchMemOpType_enum Operations for ::cuStreamBatchMemOp CUstreamCaptureMode Possible modes for stream capture thread interactions. For more details see
::cuStreamBeginCapture and ::cuThreadExchangeStreamCaptureMode
Possible modes for stream capture thread interactions. For more details see
::cuStreamBeginCapture and ::cuThreadExchangeStreamCaptureMode CUstreamCaptureMode_enum Possible modes for stream capture thread interactions. For more details see
::cuStreamBeginCapture and ::cuThreadExchangeStreamCaptureMode CUstreamCaptureStatus Possible stream capture statuses returned by ::cuStreamIsCapturing
Possible stream capture statuses returned by ::cuStreamIsCapturing CUstreamCaptureStatus_enum Possible stream capture statuses returned by ::cuStreamIsCapturing CUstreamMemoryBarrier_flags Flags for ::cuStreamMemoryBarrier
Flags for ::cuStreamMemoryBarrier CUstreamMemoryBarrier_flags_enum Flags for ::cuStreamMemoryBarrier CUstreamUpdateCaptureDependencies_flags Flags for ::cuStreamUpdateCaptureDependencies
Flags for ::cuStreamUpdateCaptureDependencies CUstreamUpdateCaptureDependencies_flags_enum Flags for ::cuStreamUpdateCaptureDependencies CUstreamWaitValue_flags Flags for ::cuStreamWaitValue32 and ::cuStreamWaitValue64
Flags for ::cuStreamWaitValue32 and ::cuStreamWaitValue64 CUstreamWaitValue_flags_enum Flags for ::cuStreamWaitValue32 and ::cuStreamWaitValue64 CUstreamWriteValue_flags Flags for ::cuStreamWriteValue32
Flags for ::cuStreamWriteValue32 CUstreamWriteValue_flags_enum Flags for ::cuStreamWriteValue32 CUstream_flags Stream creation flags
Stream creation flags CUstream_flags_enum Stream creation flags CUstream_st CUsurfref_st CUsynchronizationPolicy CUsynchronizationPolicy_enum CUtensorMapDataType Tensor map data type
Tensor map data type CUtensorMapDataType_enum Tensor map data type CUtensorMapFloatOOBfill Tensor map out-of-bounds fill type
Tensor map out-of-bounds fill type CUtensorMapFloatOOBfill_enum Tensor map out-of-bounds fill type CUtensorMapInterleave Tensor map interleave layout type
Tensor map interleave layout type CUtensorMapInterleave_enum Tensor map interleave layout type CUtensorMapL2promotion Tensor map L2 promotion type
Tensor map L2 promotion type CUtensorMapL2promotion_enum Tensor map L2 promotion type CUtensorMapSwizzle Tensor map swizzling mode of shared memory banks
Tensor map swizzling mode of shared memory banks CUtensorMapSwizzle_enum Tensor map swizzling mode of shared memory banks CUtensorMap_st Tensor map descriptor. Requires compiler support for aligning to 64 bytes. CUtexref_st CUuserObjectRetain_flags Flags for retaining user object references for graphs
Flags for retaining user object references for graphs CUuserObjectRetain_flags_enum Flags for retaining user object references for graphs CUuserObject_flags Flags for user objects for graphs
Flags for user objects for graphs CUuserObject_flags_enum Flags for user objects for graphs CUuserObject_st CUuuid_st cudaAccessPolicyWindow Specifies an access policy for a window, a contiguous extent of memory
beginning at base_ptr and ending at base_ptr + num_bytes.
Partition into many segments and assign segments such that.
sum of “hit segments” / window == approx. ratio.
sum of “miss segments” / window == approx 1-ratio.
Segments and ratio specifications are fitted to the capabilities of
the architecture.
Accesses in a hit segment apply the hitProp access policy.
Accesses in a miss segment apply the missProp access policy. cudaAccessProperty Specifies performance hint with ::cudaAccessPolicyWindow for hitProp and missProp members. cudaArray cudaArrayMemoryRequirements CUDA array and CUDA mipmapped array memory requirements cudaArraySparseProperties Sparse CUDA array and CUDA mipmapped array properties cudaArraySparseProperties__bindgen_ty_1 cudaAsyncCallbackEntry cudaAsyncNotificationInfo Information describing an async notification event cudaAsyncNotificationInfo__bindgen_ty_1__bindgen_ty_1 cudaAsyncNotificationType Types of async notification that can occur
Types of async notification that can occur cudaAsyncNotificationType_enum Types of async notification that can occur cudaCGScope CUDA cooperative group scope cudaChannelFormatDesc CUDA Channel format descriptor cudaChannelFormatKind Channel format kind cudaChildGraphNodeParams Child graph node parameters cudaClusterSchedulingPolicy Cluster scheduling policies. These may be passed to ::cudaFuncSetAttribute cudaComputeMode CUDA device compute modes cudaConditionalNodeParams CUDA conditional node parameters cudaDataType cudaDataType_t cudaDeviceAttr CUDA device attributes cudaDeviceNumaConfig CUDA device NUMA config cudaDeviceP2PAttr CUDA device P2P attributes cudaDeviceProp CUDA device properties cudaDriverEntryPointQueryResult Enum for status from obtaining driver entry points, used with ::cudaApiGetDriverEntryPoint cudaError CUDA error types cudaError_enum Error codes cudaError_t CUDA Error types
CUDA error types cudaEventRecordNodeParams Event record node parameters cudaEventWaitNodeParams Event wait node parameters cudaExtent CUDA extent cudaExternalMemoryBufferDesc External memory buffer descriptor cudaExternalMemoryHandleDesc External memory handle descriptor cudaExternalMemoryHandleDesc__bindgen_ty_1__bindgen_ty_1 Win32 handle referencing the semaphore object. Valid when
type is one of the following: cudaExternalMemoryHandleType External memory handle types cudaExternalMemoryMipmappedArrayDesc External memory mipmap descriptor cudaExternalSemaphoreHandleDesc External semaphore handle descriptor cudaExternalSemaphoreHandleDesc__bindgen_ty_1__bindgen_ty_1 Win32 handle referencing the semaphore object. Valid when
type is one of the following: cudaExternalSemaphoreHandleType External semaphore handle types cudaExternalSemaphoreSignalNodeParams External semaphore signal node parameters cudaExternalSemaphoreSignalNodeParamsV2 External semaphore signal node parameters cudaExternalSemaphoreSignalParams External semaphore signal parameters, compatible with driver type cudaExternalSemaphoreSignalParams__bindgen_ty_1 cudaExternalSemaphoreSignalParams__bindgen_ty_1__bindgen_ty_1 Parameters for fence objects cudaExternalSemaphoreSignalParams__bindgen_ty_1__bindgen_ty_3 Parameters for keyed mutex objects cudaExternalSemaphoreSignalParams_v1 External semaphore signal parameters(deprecated) cudaExternalSemaphoreSignalParams_v1__bindgen_ty_1 cudaExternalSemaphoreSignalParams_v1__bindgen_ty_1__bindgen_ty_1 Parameters for fence objects cudaExternalSemaphoreSignalParams_v1__bindgen_ty_1__bindgen_ty_3 Parameters for keyed mutex objects cudaExternalSemaphoreWaitNodeParams External semaphore wait node parameters cudaExternalSemaphoreWaitNodeParamsV2 External semaphore wait node parameters cudaExternalSemaphoreWaitParams External semaphore wait parameters, compatible with driver type cudaExternalSemaphoreWaitParams__bindgen_ty_1 cudaExternalSemaphoreWaitParams__bindgen_ty_1__bindgen_ty_1 Parameters for fence objects cudaExternalSemaphoreWaitParams__bindgen_ty_1__bindgen_ty_3 Parameters for keyed mutex objects cudaExternalSemaphoreWaitParams_v1 External semaphore wait parameters(deprecated) cudaExternalSemaphoreWaitParams_v1__bindgen_ty_1 cudaExternalSemaphoreWaitParams_v1__bindgen_ty_1__bindgen_ty_1 Parameters for fence objects cudaExternalSemaphoreWaitParams_v1__bindgen_ty_1__bindgen_ty_3 Parameters for keyed mutex objects cudaFlushGPUDirectRDMAWritesOptions CUDA GPUDirect RDMA flush writes APIs supported on the device cudaFlushGPUDirectRDMAWritesScope CUDA GPUDirect RDMA flush writes scopes cudaFlushGPUDirectRDMAWritesTarget CUDA GPUDirect RDMA flush writes targets cudaFuncAttribute CUDA function attributes that can be set using ::cudaFuncSetAttribute cudaFuncAttributes CUDA function attributes cudaFuncCache CUDA function cache configurations cudaGPUDirectRDMAWritesOrdering CUDA GPUDirect RDMA flush writes ordering features of the device cudaGetDriverEntryPointFlags Flags to specify search options to be used with ::cudaGetDriverEntryPoint
For more details see ::cuGetProcAddress cudaGraphConditionalHandleFlags cudaGraphConditionalNodeType CUDA conditional node types cudaGraphDebugDotFlags CUDA Graph debug write options cudaGraphDependencyType Type annotations that can be applied to graph edges as part of ::cudaGraphEdgeData.
Type annotations that can be applied to graph edges as part of ::cudaGraphEdgeData. cudaGraphDependencyType_enum Type annotations that can be applied to graph edges as part of ::cudaGraphEdgeData. cudaGraphEdgeData_st Optional annotation for edges in a CUDA graph. Note, all edges implicitly have annotations and
default to a zero-initialized value if not specified. A zero-initialized struct indicates a
standard full serialization of two nodes with memory visibility. cudaGraphExecUpdateResult CUDA Graph Update error types cudaGraphExecUpdateResultInfo_st Result information returned by cudaGraphExecUpdate cudaGraphInstantiateFlags Flags for instantiating a graph cudaGraphInstantiateParams_st Graph instantiation parameters cudaGraphInstantiateResult Graph instantiation results cudaGraphKernelNodeField Specifies the field to update when performing multiple node updates from the device cudaGraphKernelNodeUpdate Struct to specify a single node update to pass as part of a larger array to ::cudaGraphKernelNodeUpdatesApply cudaGraphKernelNodeUpdate__bindgen_ty_1__bindgen_ty_1 cudaGraphMemAttributeType Graph memory attributes cudaGraphNodeParams Graph node parameters. See ::cudaGraphAddNode. cudaGraphNodeType CUDA Graph node types cudaGraphicsCubeFace CUDA graphics interop array indices for cube maps cudaGraphicsMapFlags CUDA graphics interop map flags cudaGraphicsRegisterFlags CUDA graphics interop register flags cudaGraphicsResource CUDA graphics interop resource cudaHostNodeParams CUDA host node parameters cudaHostNodeParamsV2 CUDA host node parameters cudaIpcEventHandle_st CUDA IPC event handle cudaIpcMemHandle_st CUDA IPC memory handle cudaKernelNodeParams CUDA GPU kernel node parameters cudaKernelNodeParamsV2 CUDA GPU kernel node parameters cudaLaunchAttributeID Launch attributes enum; used as id field of ::cudaLaunchAttribute cudaLaunchAttributeValue__bindgen_ty_1 Value of launch attribute ::cudaLaunchAttributeClusterDimension that
represents the desired cluster dimensions for the kernel. Opaque type
with the following fields:
- \p x - The X dimension of the cluster, in blocks. Must be a divisor
of the grid X dimension.
- \p y - The Y dimension of the cluster, in blocks. Must be a divisor
of the grid Y dimension.
- \p z - The Z dimension of the cluster, in blocks. Must be a divisor
of the grid Z dimension. cudaLaunchAttributeValue__bindgen_ty_2 Value of launch attribute ::cudaLaunchAttributeProgrammaticEvent
with the following fields:
- \p cudaEvent_t event - Event to fire when all blocks trigger it.
- \p int flags; - Event record flags, see ::cudaEventRecordWithFlags. Does not accept
::cudaEventRecordExternal.
- \p int triggerAtBlockStart - If this is set to non-0, each block launch will automatically trigger the event. cudaLaunchAttributeValue__bindgen_ty_3 Value of launch attribute ::cudaLaunchAttributeLaunchCompletionEvent
with the following fields:
- \p cudaEvent_t event - Event to fire when the last block launches.
- \p int flags - Event record flags, see ::cudaEventRecordWithFlags. Does not accept
::cudaEventRecordExternal. cudaLaunchAttributeValue__bindgen_ty_4 Value of launch attribute ::cudaLaunchAttributeDeviceUpdatableKernelNode
with the following fields: cudaLaunchAttribute_st Launch attribute cudaLaunchConfig_st CUDA extensible launch configuration cudaLaunchMemSyncDomain Memory Synchronization Domain cudaLaunchMemSyncDomainMap_st Memory Synchronization Domain map cudaLaunchParams CUDA launch parameters cudaLimit CUDA Limits cudaMemAccessDesc Memory access descriptor cudaMemAccessFlags Specifies the memory protection flags for mapping. cudaMemAllocNodeParams Memory allocation node parameters cudaMemAllocNodeParamsV2 Memory allocation node parameters cudaMemAllocationHandleType Flags for specifying particular handle types cudaMemAllocationType Defines the allocation types available cudaMemFabricHandle_st cudaMemFreeNodeParams Memory free node parameters cudaMemLocation Specifies a memory location. cudaMemLocationType Specifies the type of location cudaMemPoolAttr CUDA memory pool attributes cudaMemPoolProps Specifies the properties of allocations made from the pool. cudaMemPoolPtrExportData Opaque data for exporting a pool allocation cudaMemRangeAttribute CUDA range attributes cudaMemcpy3DParms CUDA 3D memory copying parameters cudaMemcpy3DPeerParms CUDA 3D cross-device memory copying parameters cudaMemcpyKind CUDA memory copy types cudaMemcpyNodeParams Memcpy node parameters cudaMemoryAdvise CUDA Memory Advise values cudaMemoryType CUDA memory types cudaMemsetParams CUDA Memset node parameters cudaMemsetParamsV2 CUDA Memset node parameters cudaMipmappedArray cudaPitchedPtr CUDA Pitched memory pointer cudaPointerAttributes CUDA pointer attributes cudaPos CUDA 3D position cudaResourceDesc CUDA resource descriptor cudaResourceDesc__bindgen_ty_1__bindgen_ty_1 cudaResourceDesc__bindgen_ty_1__bindgen_ty_2 cudaResourceDesc__bindgen_ty_1__bindgen_ty_3 cudaResourceDesc__bindgen_ty_1__bindgen_ty_4 cudaResourceType CUDA resource types cudaResourceViewDesc CUDA resource view descriptor cudaResourceViewFormat CUDA texture resource view formats cudaRoundMode cudaSharedCarveout Shared memory carveout configurations. These may be passed to cudaFuncSetAttribute cudaSharedMemConfig CUDA shared memory configuration
\deprecated cudaStreamCaptureMode Possible modes for stream capture thread interactions. For more details see
::cudaStreamBeginCapture and ::cudaThreadExchangeStreamCaptureMode cudaStreamCaptureStatus Possible stream capture statuses returned by ::cudaStreamIsCapturing cudaStreamUpdateCaptureDependenciesFlags Flags for ::cudaStreamUpdateCaptureDependencies cudaSurfaceBoundaryMode CUDA Surface boundary modes cudaSurfaceFormatMode CUDA Surface format modes cudaSynchronizationPolicy cudaTextureAddressMode CUDA texture address modes cudaTextureDesc CUDA texture descriptor cudaTextureFilterMode CUDA texture filter modes cudaTextureReadMode CUDA texture read modes cudaUserObjectFlags Flags for user objects for graphs cudaUserObjectRetainFlags Flags for retaining user object references for graphs dim3 cuArray3DCreate_v2 ⚠ \brief Creates a 3D CUDA array cuArray3DGetDescriptor_v2 ⚠ \brief Get a 3D CUDA array descriptor cuArrayCreate_v2 ⚠ \brief Creates a 1D or 2D CUDA array cuArrayDestroy ⚠ \brief Destroys a CUDA array cuArrayGetDescriptor_v2 ⚠ \brief Get a 1D or 2D CUDA array descriptor cuArrayGetMemoryRequirements ⚠ \brief Returns the memory requirements of a CUDA array cuArrayGetPlane ⚠ \brief Gets a CUDA array plane from a CUDA array cuArrayGetSparseProperties ⚠ \brief Returns the layout properties of a sparse CUDA array cuCoredumpGetAttribute ⚠ \brief Allows caller to fetch a coredump attribute value for the current context cuCoredumpGetAttributeGlobal ⚠ \brief Allows caller to fetch a coredump attribute value for the entire application cuCoredumpSetAttribute ⚠ \brief Allows caller to set a coredump attribute value for the current context cuCoredumpSetAttributeGlobal ⚠ \brief Allows caller to set a coredump attribute value globally cuCtxAttach ⚠ \brief Increment a context’s usage-count cuCtxCreate_v2 ⚠ \brief Create a CUDA context cuCtxCreate_v3 ⚠ \brief Create a CUDA context with execution affinity cuCtxCreate_v4 ⚠ \brief Create a CUDA context cuCtxDestroy_v2 ⚠ \brief Destroy a CUDA context cuCtxDetach ⚠ \brief Decrement a context’s usage-count cuCtxDisablePeerAccess ⚠ \brief Disables direct access to memory allocations in a peer context and
unregisters any registered allocations. cuCtxEnablePeerAccess ⚠ \brief Enables direct access to memory allocations in a peer context. cuCtxFromGreenCtx ⚠ \brief Converts a green context into the primary context cuCtxGetApiVersion ⚠ \brief Gets the context’s API version. cuCtxGetCacheConfig ⚠ \brief Returns the preferred cache configuration for the current context. cuCtxGetCurrent ⚠ \brief Returns the CUDA context bound to the calling CPU thread. cuCtxGetDevResource ⚠ \brief Get context resources cuCtxGetDevice ⚠ \brief Returns the device ID for the current context cuCtxGetExecAffinity ⚠ \brief Returns the execution affinity setting for the current context. cuCtxGetFlags ⚠ \brief Returns the flags for the current context cuCtxGetId ⚠ \brief Returns the unique Id associated with the context supplied cuCtxGetLimit ⚠ \brief Returns resource limits cuCtxGetSharedMemConfig ⚠ \brief Returns the current shared memory configuration for the current context. cuCtxGetStreamPriorityRange ⚠ \brief Returns numerical values that correspond to the least and
greatest stream priorities. cuCtxPopCurrent_v2 ⚠ \brief Pops the current CUDA context from the current CPU thread. cuCtxPushCurrent_v2 ⚠ \brief Pushes a context on the current CPU thread cuCtxRecordEvent ⚠ \brief Records an event. cuCtxResetPersistingL2Cache ⚠ \brief Resets all persisting lines in cache to normal status. cuCtxSetCacheConfig ⚠ \brief Sets the preferred cache configuration for the current context. cuCtxSetCurrent ⚠ \brief Binds the specified CUDA context to the calling CPU thread cuCtxSetFlags ⚠ \brief Sets the flags for the current context cuCtxSetLimit ⚠ \brief Set resource limits cuCtxSetSharedMemConfig ⚠ \brief Sets the shared memory configuration for the current context. cuCtxSynchronize ⚠ \brief Block for the current context’s tasks to complete cuCtxWaitEvent ⚠ \brief Make a context wait on an event cuDestroyExternalMemory ⚠ \brief Destroys an external memory object. cuDestroyExternalSemaphore ⚠ \brief Destroys an external semaphore cuDevResourceGenerateDesc ⚠ \brief Generate a resource descriptor cuDevSmResourceSplitByCount ⚠ \brief Splits \p CU_DEV_RESOURCE_TYPE_SM resources. cuDeviceCanAccessPeer ⚠ \brief Queries if a device may directly access a peer device’s memory. cuDeviceComputeCapability ⚠ \brief Returns the compute capability of the device cuDeviceGet ⚠ \brief Returns a handle to a compute device cuDeviceGetAttribute ⚠ \brief Returns information about the device cuDeviceGetByPCIBusId ⚠ \brief Returns a handle to a compute device cuDeviceGetCount ⚠ \brief Returns the number of compute-capable devices cuDeviceGetDefaultMemPool ⚠ \brief Returns the default mempool of a device cuDeviceGetDevResource ⚠ \brief Get device resources cuDeviceGetExecAffinitySupport ⚠ \brief Returns information about the execution affinity support of the device. cuDeviceGetGraphMemAttribute ⚠ \brief Query asynchronous allocation attributes related to graphs cuDeviceGetLuid ⚠ \brief Return an LUID and device node mask for the device cuDeviceGetMemPool ⚠ \brief Gets the current mempool for a device cuDeviceGetName ⚠ \brief Returns an identifier string for the device cuDeviceGetNvSciSyncAttributes ⚠ \brief Return NvSciSync attributes that this device can support. cuDeviceGetP2PAttribute ⚠ \brief Queries attributes of the link between two devices. cuDeviceGetPCIBusId ⚠ \brief Returns a PCI Bus Id string for the device cuDeviceGetProperties ⚠ \brief Returns properties for a selected device cuDeviceGetTexture1DLinearMaxWidth ⚠ \brief Returns the maximum number of elements allocatable in a 1D linear texture for a given texture element size. cuDeviceGetUuid ⚠ \brief Return an UUID for the device cuDeviceGetUuid_v2 ⚠ \brief Return an UUID for the device (11.4+) cuDeviceGraphMemTrim ⚠ \brief Free unused memory that was cached on the specified device for use with graphs back to the OS. cuDevicePrimaryCtxGetState ⚠ \brief Get the state of the primary context cuDevicePrimaryCtxRelease_v2 ⚠ \brief Release the primary context on the GPU cuDevicePrimaryCtxReset_v2 ⚠ \brief Destroy all allocations and reset all state on the primary context cuDevicePrimaryCtxRetain ⚠ \brief Retain the primary context on the GPU cuDevicePrimaryCtxSetFlags_v2 ⚠ \brief Set flags for the primary context cuDeviceRegisterAsyncNotification ⚠ \brief Registers a callback function to receive async notifications cuDeviceSetGraphMemAttribute ⚠ \brief Set asynchronous allocation attributes related to graphs cuDeviceSetMemPool ⚠ \brief Sets the current memory pool of a device cuDeviceTotalMem_v2 ⚠ \brief Returns the total amount of memory on the device cuDeviceUnregisterAsyncNotification ⚠ \brief Unregisters an async notification callback cuDriverGetVersion ⚠ \brief Returns the latest CUDA version supported by driver cuEventCreate ⚠ \brief Creates an event cuEventDestroy_v2 ⚠ \brief Destroys an event cuEventElapsedTime ⚠ \brief Computes the elapsed time between two events cuEventQuery ⚠ \brief Queries an event’s status cuEventRecord ⚠ \brief Records an event cuEventRecordWithFlags ⚠ \brief Records an event cuEventSynchronize ⚠ \brief Waits for an event to complete cuExternalMemoryGetMappedBuffer ⚠ \brief Maps a buffer onto an imported memory object cuExternalMemoryGetMappedMipmappedArray ⚠ \brief Maps a CUDA mipmapped array onto an external memory object cuFlushGPUDirectRDMAWrites ⚠ \brief Blocks until remote writes are visible to the specified scope cuFuncGetAttribute ⚠ \brief Returns information about a function cuFuncGetModule ⚠ \brief Returns a module handle cuFuncGetName ⚠ \brief Returns the function name for a ::CUfunction handle cuFuncGetParamInfo ⚠ \brief Returns the offset and size of a kernel parameter in the device-side parameter layout cuFuncIsLoaded ⚠ \brief Returns if the function is loaded cuFuncLoad ⚠ \brief Loads a function cuFuncSetAttribute ⚠ \brief Sets information about a function cuFuncSetBlockShape ⚠ \brief Sets the block-dimensions for the function cuFuncSetCacheConfig ⚠ \brief Sets the preferred cache configuration for a device function cuFuncSetSharedMemConfig ⚠ \brief Sets the shared memory configuration for a device function. cuFuncSetSharedSize ⚠ \brief Sets the dynamic shared-memory size for the function cuGetErrorName ⚠ \brief Gets the string representation of an error code enum name cuGetErrorString ⚠ \brief Gets the string description of an error code cuGetExportTable ⚠ @} cuGetProcAddress_v2 ⚠ \brief Returns the requested driver API function pointer cuGraphAddBatchMemOpNode ⚠ \brief Creates a batch memory operation node and adds it to a graph cuGraphAddChildGraphNode ⚠ \brief Creates a child graph node and adds it to a graph cuGraphAddDependencies ⚠ \brief Adds dependency edges to a graph cuGraphAddDependencies_v2 ⚠ \brief Adds dependency edges to a graph (12.3+) cuGraphAddEmptyNode ⚠ \brief Creates an empty node and adds it to a graph cuGraphAddEventRecordNode ⚠ \brief Creates an event record node and adds it to a graph cuGraphAddEventWaitNode ⚠ \brief Creates an event wait node and adds it to a graph cuGraphAddExternalSemaphoresSignalNode ⚠ \brief Creates an external semaphore signal node and adds it to a graph cuGraphAddExternalSemaphoresWaitNode ⚠ \brief Creates an external semaphore wait node and adds it to a graph cuGraphAddHostNode ⚠ \brief Creates a host execution node and adds it to a graph cuGraphAddKernelNode_v2 ⚠ \brief Creates a kernel execution node and adds it to a graph cuGraphAddMemAllocNode ⚠ \brief Creates an allocation node and adds it to a graph cuGraphAddMemFreeNode ⚠ \brief Creates a memory free node and adds it to a graph cuGraphAddMemcpyNode ⚠ \brief Creates a memcpy node and adds it to a graph cuGraphAddMemsetNode ⚠ \brief Creates a memset node and adds it to a graph cuGraphAddNode ⚠ \brief Adds a node of arbitrary type to a graph cuGraphAddNode_v2 ⚠ \brief Adds a node of arbitrary type to a graph (12.3+) cuGraphBatchMemOpNodeGetParams ⚠ \brief Returns a batch mem op node’s parameters cuGraphBatchMemOpNodeSetParams ⚠ \brief Sets a batch mem op node’s parameters cuGraphChildGraphNodeGetGraph ⚠ \brief Gets a handle to the embedded graph of a child graph node cuGraphClone ⚠ \brief Clones a graph cuGraphConditionalHandleCreate ⚠ \brief Create a conditional handle cuGraphCreate ⚠ \brief Creates a graph cuGraphDebugDotPrint ⚠ \brief Write a DOT file describing graph structure cuGraphDestroy ⚠ \brief Destroys a graph cuGraphDestroyNode ⚠ \brief Remove a node from the graph cuGraphEventRecordNodeGetEvent ⚠ \brief Returns the event associated with an event record node cuGraphEventRecordNodeSetEvent ⚠ \brief Sets an event record node’s event cuGraphEventWaitNodeGetEvent ⚠ \brief Returns the event associated with an event wait node cuGraphEventWaitNodeSetEvent ⚠ \brief Sets an event wait node’s event cuGraphExecBatchMemOpNodeSetParams ⚠ \brief Sets the parameters for a batch mem op node in the given graphExec cuGraphExecChildGraphNodeSetParams ⚠ \brief Updates node parameters in the child graph node in the given graphExec. cuGraphExecDestroy ⚠ \brief Destroys an executable graph cuGraphExecEventRecordNodeSetEvent ⚠ \brief Sets the event for an event record node in the given graphExec cuGraphExecEventWaitNodeSetEvent ⚠ \brief Sets the event for an event wait node in the given graphExec cuGraphExecExternalSemaphoresSignalNodeSetParams ⚠ \brief Sets the parameters for an external semaphore signal node in the given graphExec cuGraphExecExternalSemaphoresWaitNodeSetParams ⚠ \brief Sets the parameters for an external semaphore wait node in the given graphExec cuGraphExecGetFlags ⚠ \brief Query the instantiation flags of an executable graph cuGraphExecHostNodeSetParams ⚠ \brief Sets the parameters for a host node in the given graphExec. cuGraphExecKernelNodeSetParams_v2 ⚠ \brief Sets the parameters for a kernel node in the given graphExec cuGraphExecMemcpyNodeSetParams ⚠ \brief Sets the parameters for a memcpy node in the given graphExec. cuGraphExecMemsetNodeSetParams ⚠ \brief Sets the parameters for a memset node in the given graphExec. cuGraphExecNodeSetParams ⚠ \brief Update’s a graph node’s parameters in an instantiated graph cuGraphExecUpdate_v2 ⚠ \brief Check whether an executable graph can be updated with a graph and perform the update if possible cuGraphExternalSemaphoresSignalNodeGetParams ⚠ \brief Returns an external semaphore signal node’s parameters cuGraphExternalSemaphoresSignalNodeSetParams ⚠ \brief Sets an external semaphore signal node’s parameters cuGraphExternalSemaphoresWaitNodeGetParams ⚠ \brief Returns an external semaphore wait node’s parameters cuGraphExternalSemaphoresWaitNodeSetParams ⚠ \brief Sets an external semaphore wait node’s parameters cuGraphGetEdges ⚠ \brief Returns a graph’s dependency edges cuGraphGetEdges_v2 ⚠ \brief Returns a graph’s dependency edges (12.3+) cuGraphGetNodes ⚠ \brief Returns a graph’s nodes cuGraphGetRootNodes ⚠ \brief Returns a graph’s root nodes cuGraphHostNodeGetParams ⚠ \brief Returns a host node’s parameters cuGraphHostNodeSetParams ⚠ \brief Sets a host node’s parameters cuGraphInstantiateWithFlags ⚠ \brief Creates an executable graph from a graph cuGraphInstantiateWithParams ⚠ \brief Creates an executable graph from a graph cuGraphKernelNodeCopyAttributes ⚠ \brief Copies attributes from source node to destination node. cuGraphKernelNodeGetAttribute ⚠ \brief Queries node attribute. cuGraphKernelNodeGetParams_v2 ⚠ \brief Returns a kernel node’s parameters cuGraphKernelNodeSetAttribute ⚠ \brief Sets node attribute. cuGraphKernelNodeSetParams_v2 ⚠ \brief Sets a kernel node’s parameters cuGraphLaunch ⚠ \brief Launches an executable graph in a stream cuGraphMemAllocNodeGetParams ⚠ \brief Returns a memory alloc node’s parameters cuGraphMemFreeNodeGetParams ⚠ \brief Returns a memory free node’s parameters cuGraphMemcpyNodeGetParams ⚠ \brief Returns a memcpy node’s parameters cuGraphMemcpyNodeSetParams ⚠ \brief Sets a memcpy node’s parameters cuGraphMemsetNodeGetParams ⚠ \brief Returns a memset node’s parameters cuGraphMemsetNodeSetParams ⚠ \brief Sets a memset node’s parameters cuGraphNodeFindInClone ⚠ \brief Finds a cloned version of a node cuGraphNodeGetDependencies ⚠ \brief Returns a node’s dependencies cuGraphNodeGetDependencies_v2 ⚠ \brief Returns a node’s dependencies (12.3+) cuGraphNodeGetDependentNodes ⚠ \brief Returns a node’s dependent nodes cuGraphNodeGetDependentNodes_v2 ⚠ \brief Returns a node’s dependent nodes (12.3+) cuGraphNodeGetEnabled ⚠ \brief Query whether a node in the given graphExec is enabled cuGraphNodeGetType ⚠ \brief Returns a node’s type cuGraphNodeSetEnabled ⚠ \brief Enables or disables the specified node in the given graphExec cuGraphNodeSetParams ⚠ \brief Update’s a graph node’s parameters cuGraphReleaseUserObject ⚠ \brief Release a user object reference from a graph cuGraphRemoveDependencies ⚠ \brief Removes dependency edges from a graph cuGraphRemoveDependencies_v2 ⚠ \brief Removes dependency edges from a graph (12.3+) cuGraphRetainUserObject ⚠ \brief Retain a reference to a user object from a graph cuGraphUpload ⚠ \brief Uploads an executable graph in a stream cuGraphicsMapResources ⚠ \brief Map graphics resources for access by CUDA cuGraphicsResourceGetMappedMipmappedArray ⚠ \brief Get a mipmapped array through which to access a mapped graphics resource. cuGraphicsResourceGetMappedPointer_v2 ⚠ \brief Get a device pointer through which to access a mapped graphics resource. cuGraphicsResourceSetMapFlags_v2 ⚠ \brief Set usage flags for mapping a graphics resource cuGraphicsSubResourceGetMappedArray ⚠ \brief Get an array through which to access a subresource of a mapped graphics resource. cuGraphicsUnmapResources ⚠ \brief Unmap graphics resources. cuGraphicsUnregisterResource ⚠ \brief Unregisters a graphics resource for access by CUDA cuGreenCtxCreate ⚠ \brief Creates a green context with a specified set of resources. cuGreenCtxDestroy ⚠ \brief Destroys a green context cuGreenCtxGetDevResource ⚠ \brief Get green context resources cuGreenCtxRecordEvent ⚠ \brief Records an event. cuGreenCtxStreamCreate ⚠ \brief Create a stream for use in the green context cuGreenCtxWaitEvent ⚠ \brief Make a green context wait on an event cuImportExternalMemory ⚠ \brief Imports an external memory object cuImportExternalSemaphore ⚠ \brief Imports an external semaphore cuInit ⚠ \brief 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. Currently, the \p Flags parameter must be 0. If ::cuInit()
has not been called, any function from the driver API will return
::CUDA_ERROR_NOT_INITIALIZED. cuIpcCloseMemHandle ⚠ \brief Attempts to close memory mapped with ::cuIpcOpenMemHandle cuIpcGetEventHandle ⚠ \brief Gets an interprocess handle for a previously allocated event cuIpcGetMemHandle ⚠ \brief Gets an interprocess memory handle for an existing device memory
allocation cuIpcOpenEventHandle ⚠ \brief Opens an interprocess event handle for use in the current process cuIpcOpenMemHandle_v2 ⚠ \brief Opens an interprocess memory handle exported from another process
and returns a device pointer usable in the local process. cuKernelGetAttribute ⚠ \brief Returns information about a kernel cuKernelGetFunction ⚠ \brief Returns a function handle cuKernelGetLibrary ⚠ \brief Returns a library handle cuKernelGetName ⚠ \brief Returns the function name for a ::CUkernel handle cuKernelGetParamInfo ⚠ \brief Returns the offset and size of a kernel parameter in the device-side parameter layout cuKernelSetAttribute ⚠ \brief Sets information about a kernel cuKernelSetCacheConfig ⚠ \brief Sets the preferred cache configuration for a device kernel. cuLaunch ⚠ \brief Launches a CUDA function cuLaunchCooperativeKernel ⚠ \brief Launches a CUDA function ::CUfunction or a CUDA kernel ::CUkernel where thread blocks
can cooperate and synchronize as they execute cuLaunchCooperativeKernelMultiDevice ⚠ \brief Launches CUDA functions on multiple devices where thread blocks can cooperate and synchronize as they execute cuLaunchGrid ⚠ \brief Launches a CUDA function cuLaunchGridAsync ⚠ \brief Launches a CUDA function cuLaunchHostFunc ⚠ \brief Enqueues a host function call in a stream cuLaunchKernel ⚠ \brief Launches a CUDA function ::CUfunction or a CUDA kernel ::CUkernel cuLaunchKernelEx ⚠ \brief Launches a CUDA function ::CUfunction or a CUDA kernel ::CUkernel with launch-time configuration cuLibraryEnumerateKernels ⚠ \brief Retrieve the kernel handles within a library. cuLibraryGetGlobal ⚠ \brief Returns a global device pointer cuLibraryGetKernel ⚠ \brief Returns a kernel handle cuLibraryGetKernelCount ⚠ \brief Returns the number of kernels within a library cuLibraryGetManaged ⚠ \brief Returns a pointer to managed memory cuLibraryGetModule ⚠ \brief Returns a module handle cuLibraryGetUnifiedFunction ⚠ \brief Returns a pointer to a unified function cuLibraryLoadData ⚠ \brief Load a library with specified code and options cuLibraryLoadFromFile ⚠ \brief Load a library with specified file and options cuLibraryUnload ⚠ \brief Unloads a library cuLinkAddData_v2 ⚠ \brief Add an input to a pending linker invocation cuLinkAddFile_v2 ⚠ \brief Add a file input to a pending linker invocation cuLinkComplete ⚠ \brief Complete a pending linker invocation cuLinkCreate_v2 ⚠ \brief Creates a pending JIT linker invocation. cuLinkDestroy ⚠ \brief Destroys state for a JIT linker invocation. cuMemAddressFree ⚠ \brief Free an address range reservation. cuMemAddressReserve ⚠ \brief Allocate an address range reservation. cuMemAdvise ⚠ \brief Advise about the usage of a given memory range cuMemAdvise_v2 ⚠ \brief Advise about the usage of a given memory range cuMemAllocAsync ⚠ \brief Allocates memory with stream ordered semantics cuMemAllocFromPoolAsync ⚠ \brief Allocates memory from a specified pool with stream ordered semantics. cuMemAllocHost_v2 ⚠ \brief Allocates page-locked host memory cuMemAllocManaged ⚠ \brief Allocates memory that will be automatically managed by the Unified Memory system cuMemAllocPitch_v2 ⚠ \brief Allocates pitched device memory cuMemAlloc_v2 ⚠ \brief Allocates device memory cuMemCreate ⚠ \brief Create a CUDA memory handle representing a memory allocation of a given size described by the given properties cuMemExportToShareableHandle ⚠ \brief Exports an allocation to a requested shareable handle type cuMemFreeAsync ⚠ \brief Frees memory with stream ordered semantics cuMemFreeHost ⚠ \brief Frees page-locked host memory cuMemFree_v2 ⚠ \brief Frees device memory cuMemGetAccess ⚠ \brief Get the access \p flags set for the given \p location and \p ptr cuMemGetAddressRange_v2 ⚠ \brief Get information on memory allocations cuMemGetAllocationGranularity ⚠ \brief Calculates either the minimal or recommended granularity cuMemGetAllocationPropertiesFromHandle ⚠ \brief Retrieve the contents of the property structure defining properties for this handle cuMemGetHandleForAddressRange ⚠ \brief Retrieve handle for an address range cuMemGetInfo_v2 ⚠ \brief Gets free and total memory cuMemHostAlloc ⚠ \brief Allocates page-locked host memory cuMemHostGetDevicePointer_v2 ⚠ \brief Passes back device pointer of mapped pinned memory cuMemHostGetFlags ⚠ \brief Passes back flags that were used for a pinned allocation cuMemHostRegister_v2 ⚠ \brief Registers an existing host memory range for use by CUDA cuMemHostUnregister ⚠ \brief Unregisters a memory range that was registered with cuMemHostRegister. cuMemImportFromShareableHandle ⚠ \brief Imports an allocation from a requested shareable handle type. cuMemMap ⚠ \brief Maps an allocation handle to a reserved virtual address range. cuMemMapArrayAsync ⚠ \brief Maps or unmaps subregions of sparse CUDA arrays and sparse CUDA mipmapped arrays cuMemPoolCreate ⚠ \brief Creates a memory pool cuMemPoolDestroy ⚠ \brief Destroys the specified memory pool cuMemPoolExportPointer ⚠ \brief Export data to share a memory pool allocation between processes. cuMemPoolExportToShareableHandle ⚠ \brief Exports a memory pool to the requested handle type. cuMemPoolGetAccess ⚠ \brief Returns the accessibility of a pool from a device cuMemPoolGetAttribute ⚠ \brief Gets attributes of a memory pool cuMemPoolImportFromShareableHandle ⚠ \brief imports a memory pool from a shared handle. cuMemPoolImportPointer ⚠ \brief Import a memory pool allocation from another process. cuMemPoolSetAccess ⚠ \brief Controls visibility of pools between devices cuMemPoolSetAttribute ⚠ \brief Sets attributes of a memory pool cuMemPoolTrimTo ⚠ \brief Tries to release memory back to the OS cuMemPrefetchAsync ⚠ \brief Prefetches memory to the specified destination device cuMemPrefetchAsync_v2 ⚠ \brief Prefetches memory to the specified destination location cuMemRangeGetAttribute ⚠ \brief Query an attribute of a given memory range cuMemRangeGetAttributes ⚠ \brief Query attributes of a given memory range. cuMemRelease ⚠ \brief Release a memory handle representing a memory allocation which was previously allocated through cuMemCreate. cuMemRetainAllocationHandle ⚠ \brief Given an address \p addr, returns the allocation handle of the backing memory allocation. cuMemSetAccess ⚠ \brief Set the access flags for each location specified in \p desc for the given virtual address range cuMemUnmap ⚠ \brief Unmap the backing memory of a given address range. cuMemcpy ⚠ \brief Copies memory cuMemcpy2DAsync_v2 ⚠ \brief Copies memory for 2D arrays cuMemcpy2DUnaligned_v2 ⚠ \brief Copies memory for 2D arrays cuMemcpy2D_v2 ⚠ \brief Copies memory for 2D arrays cuMemcpy3DAsync_v2 ⚠ \brief Copies memory for 3D arrays cuMemcpy3DPeer ⚠ \brief Copies memory between contexts cuMemcpy3DPeerAsync ⚠ \brief Copies memory between contexts asynchronously. cuMemcpy3D_v2 ⚠ \brief Copies memory for 3D arrays cuMemcpyAsync ⚠ \brief Copies memory asynchronously cuMemcpyAtoA_v2 ⚠ \brief Copies memory from Array to Array cuMemcpyAtoD_v2 ⚠ \brief Copies memory from Array to Device cuMemcpyAtoHAsync_v2 ⚠ \brief Copies memory from Array to Host cuMemcpyAtoH_v2 ⚠ \brief Copies memory from Array to Host cuMemcpyDtoA_v2 ⚠ \brief Copies memory from Device to Array cuMemcpyDtoDAsync_v2 ⚠ \brief Copies memory from Device to Device cuMemcpyDtoD_v2 ⚠ \brief Copies memory from Device to Device cuMemcpyDtoHAsync_v2 ⚠ \brief Copies memory from Device to Host cuMemcpyDtoH_v2 ⚠ \brief Copies memory from Device to Host cuMemcpyHtoAAsync_v2 ⚠ \brief Copies memory from Host to Array cuMemcpyHtoA_v2 ⚠ \brief Copies memory from Host to Array cuMemcpyHtoDAsync_v2 ⚠ \brief Copies memory from Host to Device cuMemcpyHtoD_v2 ⚠ \brief Copies memory from Host to Device cuMemcpyPeer ⚠ \brief Copies device memory between two contexts cuMemcpyPeerAsync ⚠ \brief Copies device memory between two contexts asynchronously. cuMemsetD2D8Async ⚠ \brief Sets device memory cuMemsetD2D8_v2 ⚠ \brief Initializes device memory cuMemsetD2D16Async ⚠ \brief Sets device memory cuMemsetD2D16_v2 ⚠ \brief Initializes device memory cuMemsetD2D32Async ⚠ \brief Sets device memory cuMemsetD2D32_v2 ⚠ \brief Initializes device memory cuMemsetD8Async ⚠ \brief Sets device memory cuMemsetD8_v2 ⚠ \brief Initializes device memory cuMemsetD16Async ⚠ \brief Sets device memory cuMemsetD16_v2 ⚠ \brief Initializes device memory cuMemsetD32Async ⚠ \brief Sets device memory cuMemsetD32_v2 ⚠ \brief Initializes device memory cuMipmappedArrayCreate ⚠ \brief Creates a CUDA mipmapped array cuMipmappedArrayDestroy ⚠ \brief Destroys a CUDA mipmapped array cuMipmappedArrayGetLevel ⚠ \brief Gets a mipmap level of a CUDA mipmapped array cuMipmappedArrayGetMemoryRequirements ⚠ \brief Returns the memory requirements of a CUDA mipmapped array cuMipmappedArrayGetSparseProperties ⚠ \brief Returns the layout properties of a sparse CUDA mipmapped array cuModuleEnumerateFunctions ⚠ \brief Returns the function handles within a module. cuModuleGetFunction ⚠ \brief Returns a function handle cuModuleGetFunctionCount ⚠ \brief Returns the number of functions within a module cuModuleGetGlobal_v2 ⚠ \brief Returns a global pointer from a module cuModuleGetLoadingMode ⚠ \brief Query lazy loading mode cuModuleGetSurfRef ⚠ \brief Returns a handle to a surface reference cuModuleGetTexRef ⚠ \brief Returns a handle to a texture reference cuModuleLoad ⚠ \brief Loads a compute module cuModuleLoadData ⚠ \brief Load a module’s data cuModuleLoadDataEx ⚠ \brief Load a module’s data with options cuModuleLoadFatBinary ⚠ \brief Load a module’s data cuModuleUnload ⚠ \brief Unloads a module cuMulticastAddDevice ⚠ \brief Associate a device to a multicast object. cuMulticastBindAddr ⚠ \brief Bind a memory allocation represented by a virtual address to a multicast object. cuMulticastBindMem ⚠ \brief Bind a memory allocation represented by a handle to a multicast object. cuMulticastCreate ⚠ \brief Create a generic allocation handle representing a multicast object described by the given properties. cuMulticastGetGranularity ⚠ \brief Calculates either the minimal or recommended granularity for multicast object cuMulticastUnbind ⚠ \brief Unbind any memory allocations bound to a multicast object at a given offset and upto a given size. cuOccupancyAvailableDynamicSMemPerBlock ⚠ \brief Returns dynamic shared memory available per block when launching \p numBlocks blocks on SM cuOccupancyMaxActiveBlocksPerMultiprocessor ⚠ \brief Returns occupancy of a function cuOccupancyMaxActiveBlocksPerMultiprocessorWithFlags ⚠ \brief Returns occupancy of a function cuOccupancyMaxActiveClusters ⚠ \brief Given the kernel function (\p func) and launch configuration
(\p config), return the maximum number of clusters that could co-exist
on the target device in \p *numClusters. cuOccupancyMaxPotentialBlockSize ⚠ \brief Suggest a launch configuration with reasonable occupancy cuOccupancyMaxPotentialBlockSizeWithFlags ⚠ \brief Suggest a launch configuration with reasonable occupancy cuOccupancyMaxPotentialClusterSize ⚠ \brief Given the kernel function (\p func) and launch configuration
(\p config), return the maximum cluster size in \p *clusterSize. cuParamSetSize ⚠ \brief Sets the parameter size for the function cuParamSetTexRef ⚠ \brief Adds a texture-reference to the function’s argument list cuParamSetf ⚠ \brief Adds a floating-point parameter to the function’s argument list cuParamSeti ⚠ \brief Adds an integer parameter to the function’s argument list cuParamSetv ⚠ \brief Adds arbitrary data to the function’s argument list cuPointerGetAttribute ⚠ \brief Returns information about a pointer cuPointerGetAttributes ⚠ \brief Returns information about a pointer. cuPointerSetAttribute ⚠ \brief Set attributes on a previously allocated memory region cuSignalExternalSemaphoresAsync ⚠ \brief Signals a set of external semaphore objects cuStreamAddCallback ⚠ \brief Add a callback to a compute stream cuStreamAttachMemAsync ⚠ \brief Attach memory to a stream asynchronously cuStreamBatchMemOp_v2 ⚠ \brief Batch operations to synchronize the stream via memory operations cuStreamBeginCaptureToGraph ⚠ \brief Begins graph capture on a stream to an existing graph cuStreamBeginCapture_v2 ⚠ \brief Begins graph capture on a stream cuStreamCopyAttributes ⚠ \brief Copies attributes from source stream to destination stream. cuStreamCreate ⚠ \brief Create a stream cuStreamCreateWithPriority ⚠ \brief Create a stream with the given priority cuStreamDestroy_v2 ⚠ \brief Destroys a stream cuStreamEndCapture ⚠ \brief Ends capture on a stream, returning the captured graph cuStreamGetAttribute ⚠ \brief Queries stream attribute. cuStreamGetCaptureInfo_v2 ⚠ \brief Query a stream’s capture state cuStreamGetCaptureInfo_v3 ⚠ \brief Query a stream’s capture state (12.3+) cuStreamGetCtx ⚠ \brief Query the context associated with a stream cuStreamGetCtx_v2 ⚠ \brief Query the contexts associated with a stream cuStreamGetFlags ⚠ \brief Query the flags of a given stream cuStreamGetGreenCtx ⚠ \brief Query the green context associated with a stream cuStreamGetId ⚠ \brief Returns the unique Id associated with the stream handle supplied cuStreamGetPriority ⚠ \brief Query the priority of a given stream cuStreamIsCapturing ⚠ \brief Returns a stream’s capture status cuStreamQuery ⚠ \brief Determine status of a compute stream cuStreamSetAttribute ⚠ \brief Sets stream attribute. cuStreamSynchronize ⚠ \brief Wait until a stream’s tasks are completed cuStreamUpdateCaptureDependencies ⚠ \brief Update the set of dependencies in a capturing stream (11.3+) cuStreamUpdateCaptureDependencies_v2 ⚠ \brief Update the set of dependencies in a capturing stream (12.3+) cuStreamWaitEvent ⚠ \brief Make a compute stream wait on an event cuStreamWaitValue32_v2 ⚠ \brief Wait on a memory location cuStreamWaitValue64_v2 ⚠ \brief Wait on a memory location cuStreamWriteValue32_v2 ⚠ \brief Write a value to memory cuStreamWriteValue64_v2 ⚠ \brief Write a value to memory cuSurfObjectCreate ⚠ \brief Creates a surface object cuSurfObjectDestroy ⚠ \brief Destroys a surface object cuSurfObjectGetResourceDesc ⚠ \brief Returns a surface object’s resource descriptor cuSurfRefGetArray ⚠ \brief Passes back the CUDA array bound to a surface reference. cuSurfRefSetArray ⚠ \brief Sets the CUDA array for a surface reference. cuTensorMapEncodeIm2col ⚠ \brief Create a tensor map descriptor object representing im2col memory region cuTensorMapEncodeTiled ⚠ \brief Create a tensor map descriptor object representing tiled memory region cuTensorMapReplaceAddress ⚠ \brief Modify an existing tensor map descriptor with an updated global address cuTexObjectCreate ⚠ \brief Creates a texture object cuTexObjectDestroy ⚠ \brief Destroys a texture object cuTexObjectGetResourceDesc ⚠ \brief Returns a texture object’s resource descriptor cuTexObjectGetResourceViewDesc ⚠ \brief Returns a texture object’s resource view descriptor cuTexObjectGetTextureDesc ⚠ \brief Returns a texture object’s texture descriptor cuTexRefCreate ⚠ \brief Creates a texture reference cuTexRefDestroy ⚠ \brief Destroys a texture reference cuTexRefGetAddressMode ⚠ \brief Gets the addressing mode used by a texture reference cuTexRefGetAddress_v2 ⚠ \brief Gets the address associated with a texture reference cuTexRefGetArray ⚠ \brief Gets the array bound to a texture reference cuTexRefGetBorderColor ⚠ \brief Gets the border color used by a texture reference cuTexRefGetFilterMode ⚠ \brief Gets the filter-mode used by a texture reference cuTexRefGetFlags ⚠ \brief Gets the flags used by a texture reference cuTexRefGetFormat ⚠ \brief Gets the format used by a texture reference cuTexRefGetMaxAnisotropy ⚠ \brief Gets the maximum anisotropy for a texture reference cuTexRefGetMipmapFilterMode ⚠ \brief Gets the mipmap filtering mode for a texture reference cuTexRefGetMipmapLevelBias ⚠ \brief Gets the mipmap level bias for a texture reference cuTexRefGetMipmapLevelClamp ⚠ \brief Gets the min/max mipmap level clamps for a texture reference cuTexRefGetMipmappedArray ⚠ \brief Gets the mipmapped array bound to a texture reference cuTexRefSetAddress2D_v3 ⚠ \brief Binds an address as a 2D texture reference cuTexRefSetAddressMode ⚠ \brief Sets the addressing mode for a texture reference cuTexRefSetAddress_v2 ⚠ \brief Binds an address as a texture reference cuTexRefSetArray ⚠ \brief Binds an array as a texture reference cuTexRefSetBorderColor ⚠ \brief Sets the border color for a texture reference cuTexRefSetFilterMode ⚠ \brief Sets the filtering mode for a texture reference cuTexRefSetFlags ⚠ \brief Sets the flags for a texture reference cuTexRefSetFormat ⚠ \brief Sets the format for a texture reference cuTexRefSetMaxAnisotropy ⚠ \brief Sets the maximum anisotropy for a texture reference cuTexRefSetMipmapFilterMode ⚠ \brief Sets the mipmap filtering mode for a texture reference cuTexRefSetMipmapLevelBias ⚠ \brief Sets the mipmap level bias for a texture reference cuTexRefSetMipmapLevelClamp ⚠ \brief Sets the mipmap min/max mipmap level clamps for a texture reference cuTexRefSetMipmappedArray ⚠ \brief Binds a mipmapped array to a texture reference cuThreadExchangeStreamCaptureMode ⚠ \brief Swaps the stream capture interaction mode for a thread cuUserObjectCreate ⚠ \brief Create a user object cuUserObjectRelease ⚠ \brief Release a reference to a user object cuUserObjectRetain ⚠ \brief Retain a reference to a user object cuWaitExternalSemaphoresAsync ⚠ \brief Waits on a set of external semaphore objects cudaArrayGetInfo ⚠ \brief Gets info about the specified cudaArray cudaArrayGetMemoryRequirements ⚠ \brief Returns the memory requirements of a CUDA array cudaArrayGetPlane ⚠ \brief Gets a CUDA array plane from a CUDA array cudaArrayGetSparseProperties ⚠ cudaChooseDevice ⚠ \brief Select compute-device which best matches criteria cudaCreateChannelDesc ⚠ \brief Returns a channel descriptor using the specified format cudaCreateSurfaceObject ⚠ \brief Creates a surface object cudaCreateTextureObject ⚠ \brief Creates a texture object cudaCtxResetPersistingL2Cache ⚠ \brief Resets all persisting lines in cache to normal status. cudaDestroyExternalMemory ⚠ \brief Destroys an external memory object. cudaDestroyExternalSemaphore ⚠ \brief Destroys an external semaphore cudaDestroySurfaceObject ⚠ \brief Destroys a surface object cudaDestroyTextureObject ⚠ \brief Destroys a texture object cudaDeviceCanAccessPeer ⚠ \brief Queries if a device may directly access a peer device’s memory. cudaDeviceDisablePeerAccess ⚠ \brief Disables direct access to memory allocations on a peer device. cudaDeviceEnablePeerAccess ⚠ \brief Enables direct access to memory allocations on a peer device. cudaDeviceFlushGPUDirectRDMAWrites ⚠ cudaDeviceGetAttribute ⚠ \brief Returns information about the device cudaDeviceGetByPCIBusId ⚠ \brief Returns a handle to a compute device cudaDeviceGetCacheConfig ⚠ \brief Returns the preferred cache configuration for the current device. cudaDeviceGetDefaultMemPool ⚠ \brief Returns the default mempool of a device cudaDeviceGetGraphMemAttribute ⚠ cudaDeviceGetLimit ⚠ \brief Return resource limits cudaDeviceGetMemPool ⚠ \brief Gets the current mempool for a device cudaDeviceGetNvSciSyncAttributes ⚠ \brief Return NvSciSync attributes that this device can support. cudaDeviceGetP2PAttribute ⚠ \brief Queries attributes of the link between two devices. cudaDeviceGetPCIBusId ⚠ \brief Returns a PCI Bus Id string for the device cudaDeviceGetSharedMemConfig ⚠ \brief Returns the shared memory configuration for the current device. cudaDeviceGetStreamPriorityRange ⚠ \brief Returns numerical values that correspond to the least and
greatest stream priorities. cudaDeviceGetTexture1DLinearMaxWidth ⚠ cudaDeviceGraphMemTrim ⚠ cudaDeviceRegisterAsyncNotification ⚠ \brief Registers a callback function to receive async notifications cudaDeviceReset ⚠ \brief Destroy all allocations and reset all state on the current device
in the current process. cudaDeviceSetCacheConfig ⚠ \brief Sets the preferred cache configuration for the current device. cudaDeviceSetGraphMemAttribute ⚠ cudaDeviceSetLimit ⚠ \brief Set resource limits cudaDeviceSetMemPool ⚠ \brief Sets the current memory pool of a device cudaDeviceSetSharedMemConfig ⚠ \brief Sets the shared memory configuration for the current device. cudaDeviceSynchronize ⚠ \brief Wait for compute device to finish cudaDeviceUnregisterAsyncNotification ⚠ \brief Unregisters an async notification callback cudaDriverGetVersion ⚠ \brief Returns the latest version of CUDA supported by the driver cudaEventCreate ⚠ \brief Creates an event object cudaEventCreateWithFlags ⚠ \brief Creates an event object with the specified flags cudaEventDestroy ⚠ \brief Destroys an event object cudaEventElapsedTime ⚠ \brief Computes the elapsed time between events cudaEventQuery ⚠ \brief Queries an event’s status cudaEventRecord ⚠ \brief Records an event cudaEventRecordWithFlags ⚠ cudaEventSynchronize ⚠ \brief Waits for an event to complete cudaExternalMemoryGetMappedBuffer ⚠ \brief Maps a buffer onto an imported memory object cudaExternalMemoryGetMappedMipmappedArray ⚠ \brief Maps a CUDA mipmapped array onto an external memory object cudaFree ⚠ \brief Frees memory on the device cudaFreeArray ⚠ \brief Frees an array on the device cudaFreeAsync ⚠ \brief Frees memory with stream ordered semantics cudaFreeHost ⚠ \brief Frees page-locked memory cudaFreeMipmappedArray ⚠ \brief Frees a mipmapped array on the device cudaFuncGetAttributes ⚠ \brief Find out attributes for a given function cudaFuncGetName ⚠ \brief Returns the function name for a device entry function pointer. cudaFuncGetParamInfo ⚠ \brief Returns the offset and size of a kernel parameter in the device-side parameter layout. cudaFuncSetAttribute ⚠ \brief Set attributes for a given function cudaFuncSetCacheConfig ⚠ \brief Sets the preferred cache configuration for a device function cudaFuncSetSharedMemConfig ⚠ \brief Sets the shared memory configuration for a device function cudaGetChannelDesc ⚠ \brief Get the channel descriptor of an array cudaGetDevice ⚠ \brief Returns which device is currently being used cudaGetDeviceCount ⚠ \brief Returns the number of compute-capable devices cudaGetDeviceFlags ⚠ \brief Gets the flags for the current device cudaGetDeviceProperties_v2 ⚠ \brief Returns information about the compute-device cudaGetDriverEntryPoint ⚠ cudaGetDriverEntryPointByVersion ⚠ cudaGetErrorName ⚠ \brief Returns the string representation of an error code enum name cudaGetErrorString ⚠ \brief Returns the description string for an error code cudaGetExportTable ⚠ \cond impl_private cudaGetFuncBySymbol ⚠ \brief Get pointer to device entry function that matches entry function \p symbolPtr cudaGetKernel ⚠ \brief Get pointer to device kernel that matches entry function \p entryFuncAddr cudaGetLastError ⚠ \brief Returns the last error from a runtime call cudaGetMipmappedArrayLevel ⚠ \brief Gets a mipmap level of a CUDA mipmapped array cudaGetSurfaceObjectResourceDesc ⚠ \brief Returns a surface object’s resource descriptor
Returns the resource descriptor for the surface object specified by \p surfObject. cudaGetSymbolAddress ⚠ \brief Finds the address associated with a CUDA symbol cudaGetSymbolSize ⚠ \brief Finds the size of the object associated with a CUDA symbol cudaGetTextureObjectResourceDesc ⚠ \brief Returns a texture object’s resource descriptor cudaGetTextureObjectResourceViewDesc ⚠ \brief Returns a texture object’s resource view descriptor cudaGetTextureObjectTextureDesc ⚠ \brief Returns a texture object’s texture descriptor cudaGraphAddChildGraphNode ⚠ \brief Creates a child graph node and adds it to a graph cudaGraphAddDependencies ⚠ \brief Adds dependency edges to a graph. cudaGraphAddDependencies_v2 ⚠ \brief Adds dependency edges to a graph. (12.3+) cudaGraphAddEmptyNode ⚠ \brief Creates an empty node and adds it to a graph cudaGraphAddEventRecordNode ⚠ cudaGraphAddEventWaitNode ⚠ cudaGraphAddExternalSemaphoresSignalNode ⚠ cudaGraphAddExternalSemaphoresWaitNode ⚠ cudaGraphAddHostNode ⚠ \brief Creates a host execution node and adds it to a graph cudaGraphAddKernelNode ⚠ \brief Creates a kernel execution node and adds it to a graph cudaGraphAddMemAllocNode ⚠ cudaGraphAddMemFreeNode ⚠ cudaGraphAddMemcpyNode ⚠ \brief Creates a memcpy node and adds it to a graph cudaGraphAddMemcpyNode1D ⚠ cudaGraphAddMemcpyNodeFromSymbol ⚠ cudaGraphAddMemcpyNodeToSymbol ⚠ cudaGraphAddMemsetNode ⚠ \brief Creates a memset node and adds it to a graph cudaGraphAddNode ⚠ \brief Adds a node of arbitrary type to a graph cudaGraphAddNode_v2 ⚠ \brief Adds a node of arbitrary type to a graph (12.3+) cudaGraphChildGraphNodeGetGraph ⚠ \brief Gets a handle to the embedded graph of a child graph node cudaGraphClone ⚠ \brief Clones a graph cudaGraphConditionalHandleCreate ⚠ \brief Create a conditional handle cudaGraphCreate ⚠ \brief Creates a graph cudaGraphDebugDotPrint ⚠ \brief Write a DOT file describing graph structure cudaGraphDestroy ⚠ \brief Destroys a graph cudaGraphDestroyNode ⚠ \brief Remove a node from the graph cudaGraphEventRecordNodeGetEvent ⚠ cudaGraphEventRecordNodeSetEvent ⚠ cudaGraphEventWaitNodeGetEvent ⚠ cudaGraphEventWaitNodeSetEvent ⚠ cudaGraphExecChildGraphNodeSetParams ⚠ cudaGraphExecDestroy ⚠ \brief Destroys an executable graph cudaGraphExecEventRecordNodeSetEvent ⚠ cudaGraphExecEventWaitNodeSetEvent ⚠ cudaGraphExecExternalSemaphoresSignalNodeSetParams ⚠ cudaGraphExecExternalSemaphoresWaitNodeSetParams ⚠ cudaGraphExecGetFlags ⚠ \brief Query the instantiation flags of an executable graph cudaGraphExecHostNodeSetParams ⚠ \brief Sets the parameters for a host node in the given graphExec. cudaGraphExecKernelNodeSetParams ⚠ \brief Sets the parameters for a kernel node in the given graphExec cudaGraphExecMemcpyNodeSetParams ⚠ \brief Sets the parameters for a memcpy node in the given graphExec. cudaGraphExecMemcpyNodeSetParams1D ⚠ cudaGraphExecMemcpyNodeSetParamsFromSymbol ⚠ cudaGraphExecMemcpyNodeSetParamsToSymbol ⚠ cudaGraphExecMemsetNodeSetParams ⚠ \brief Sets the parameters for a memset node in the given graphExec. cudaGraphExecNodeSetParams ⚠ \brief Update’s a graph node’s parameters in an instantiated graph cudaGraphExecUpdate ⚠ \brief Check whether an executable graph can be updated with a graph and perform the update if possible cudaGraphExternalSemaphoresSignalNodeGetParams ⚠ cudaGraphExternalSemaphoresSignalNodeSetParams ⚠ cudaGraphExternalSemaphoresWaitNodeGetParams ⚠ cudaGraphExternalSemaphoresWaitNodeSetParams ⚠ cudaGraphGetEdges ⚠ \brief Returns a graph’s dependency edges cudaGraphGetEdges_v2 ⚠ \brief Returns a graph’s dependency edges (12.3+) cudaGraphGetNodes ⚠ \brief Returns a graph’s nodes cudaGraphGetRootNodes ⚠ \brief Returns a graph’s root nodes cudaGraphHostNodeGetParams ⚠ \brief Returns a host node’s parameters cudaGraphHostNodeSetParams ⚠ \brief Sets a host node’s parameters cudaGraphInstantiate ⚠ \brief Creates an executable graph from a graph cudaGraphInstantiateWithFlags ⚠ cudaGraphInstantiateWithParams ⚠ \brief Creates an executable graph from a graph cudaGraphKernelNodeCopyAttributes ⚠ \brief Copies attributes from source node to destination node. cudaGraphKernelNodeGetAttribute ⚠ \brief Queries node attribute. cudaGraphKernelNodeGetParams ⚠ \brief Returns a kernel node’s parameters cudaGraphKernelNodeSetAttribute ⚠ \brief Sets node attribute. cudaGraphKernelNodeSetParams ⚠ \brief Sets a kernel node’s parameters cudaGraphLaunch ⚠ \brief Launches an executable graph in a stream cudaGraphMemAllocNodeGetParams ⚠ cudaGraphMemFreeNodeGetParams ⚠ cudaGraphMemcpyNodeGetParams ⚠ \brief Returns a memcpy node’s parameters cudaGraphMemcpyNodeSetParams ⚠ \brief Sets a memcpy node’s parameters cudaGraphMemcpyNodeSetParams1D ⚠ cudaGraphMemcpyNodeSetParamsFromSymbol ⚠ cudaGraphMemcpyNodeSetParamsToSymbol ⚠ cudaGraphMemsetNodeGetParams ⚠ \brief Returns a memset node’s parameters cudaGraphMemsetNodeSetParams ⚠ \brief Sets a memset node’s parameters cudaGraphNodeFindInClone ⚠ \brief Finds a cloned version of a node cudaGraphNodeGetDependencies ⚠ \brief Returns a node’s dependencies cudaGraphNodeGetDependencies_v2 ⚠ \brief Returns a node’s dependencies (12.3+) cudaGraphNodeGetDependentNodes ⚠ \brief Returns a node’s dependent nodes cudaGraphNodeGetDependentNodes_v2 ⚠ \brief Returns a node’s dependent nodes (12.3+) cudaGraphNodeGetEnabled ⚠ cudaGraphNodeGetType ⚠ \brief Returns a node’s type cudaGraphNodeSetEnabled ⚠ cudaGraphNodeSetParams ⚠ \brief Update’s a graph node’s parameters cudaGraphReleaseUserObject ⚠ \brief Release a user object reference from a graph cudaGraphRemoveDependencies ⚠ \brief Removes dependency edges from a graph. cudaGraphRemoveDependencies_v2 ⚠ \brief Removes dependency edges from a graph. (12.3+) cudaGraphRetainUserObject ⚠ \brief Retain a reference to a user object from a graph cudaGraphUpload ⚠ cudaGraphicsMapResources ⚠ \brief Map graphics resources for access by CUDA cudaGraphicsResourceGetMappedMipmappedArray ⚠ \brief Get a mipmapped array through which to access a mapped graphics resource. cudaGraphicsResourceGetMappedPointer ⚠ \brief Get an device pointer through which to access a mapped graphics resource. cudaGraphicsResourceSetMapFlags ⚠ \brief Set usage flags for mapping a graphics resource cudaGraphicsSubResourceGetMappedArray ⚠ \brief Get an array through which to access a subresource of a mapped graphics resource. cudaGraphicsUnmapResources ⚠ \brief Unmap graphics resources. cudaGraphicsUnregisterResource ⚠ \brief Unregisters a graphics resource for access by CUDA cudaHostAlloc ⚠ \brief Allocates page-locked memory on the host cudaHostGetDevicePointer ⚠ \brief Passes back device pointer of mapped host memory allocated by
cudaHostAlloc or registered by cudaHostRegister cudaHostGetFlags ⚠ \brief Passes back flags used to allocate pinned host memory allocated by
cudaHostAlloc cudaHostRegister ⚠ \brief Registers an existing host memory range for use by CUDA cudaHostUnregister ⚠ \brief Unregisters a memory range that was registered with cudaHostRegister cudaImportExternalMemory ⚠ \brief Imports an external memory object cudaImportExternalSemaphore ⚠ \brief Imports an external semaphore cudaInitDevice ⚠ \brief Initialize device to be used for GPU executions cudaIpcCloseMemHandle ⚠ \brief Attempts to close memory mapped with cudaIpcOpenMemHandle cudaIpcGetEventHandle ⚠ \brief Gets an interprocess handle for a previously allocated event cudaIpcGetMemHandle ⚠ \brief Gets an interprocess memory handle for an existing device memory
allocation cudaIpcOpenEventHandle ⚠ \brief Opens an interprocess event handle for use in the current process cudaIpcOpenMemHandle ⚠ \brief Opens an interprocess memory handle exported from another process
and returns a device pointer usable in the local process. cudaLaunchCooperativeKernel ⚠ \brief Launches a device function where thread blocks can cooperate and synchronize as they execute cudaLaunchCooperativeKernelMultiDevice ⚠ \brief Launches device functions on multiple devices where thread blocks can cooperate and synchronize as they execute cudaLaunchHostFunc ⚠ \brief Enqueues a host function call in a stream cudaLaunchKernel ⚠ \brief Launches a device function cudaLaunchKernelExC ⚠ \brief Launches a CUDA function with launch-time configuration cudaMalloc ⚠ \brief Allocate memory on the device cudaMalloc3D ⚠ \brief Allocates logical 1D, 2D, or 3D memory objects on the device cudaMalloc3DArray ⚠ \brief Allocate an array on the device cudaMallocArray ⚠ \brief Allocate an array on the device cudaMallocAsync ⚠ \brief Allocates memory with stream ordered semantics cudaMallocFromPoolAsync ⚠ \brief Allocates memory from a specified pool with stream ordered semantics. cudaMallocHost ⚠ \brief Allocates page-locked memory on the host cudaMallocManaged ⚠ cudaMallocMipmappedArray ⚠ \brief Allocate a mipmapped array on the device cudaMallocPitch ⚠ \brief Allocates pitched memory on the device cudaMemAdvise ⚠ \brief Advise about the usage of a given memory range cudaMemAdvise_v2 ⚠ \brief Advise about the usage of a given memory range cudaMemGetInfo ⚠ \brief Gets free and total device memory cudaMemPoolCreate ⚠ \brief Creates a memory pool cudaMemPoolDestroy ⚠ \brief Destroys the specified memory pool cudaMemPoolExportPointer ⚠ \brief Export data to share a memory pool allocation between processes. cudaMemPoolExportToShareableHandle ⚠ \brief Exports a memory pool to the requested handle type. cudaMemPoolGetAccess ⚠ \brief Returns the accessibility of a pool from a device cudaMemPoolGetAttribute ⚠ \brief Gets attributes of a memory pool cudaMemPoolImportFromShareableHandle ⚠ \brief imports a memory pool from a shared handle. cudaMemPoolImportPointer ⚠ \brief Import a memory pool allocation from another process. cudaMemPoolSetAccess ⚠ \brief Controls visibility of pools between devices cudaMemPoolSetAttribute ⚠ \brief Sets attributes of a memory pool cudaMemPoolTrimTo ⚠ \brief Tries to release memory back to the OS cudaMemPrefetchAsync ⚠ \brief Prefetches memory to the specified destination device cudaMemPrefetchAsync_v2 ⚠ \brief Prefetches memory to the specified destination location cudaMemRangeGetAttribute ⚠ \brief Query an attribute of a given memory range cudaMemRangeGetAttributes ⚠ \brief Query attributes of a given memory range. cudaMemcpy ⚠ \brief Copies data between host and device cudaMemcpy2D ⚠ \brief Copies data between host and device cudaMemcpy2DArrayToArray ⚠ \brief Copies data between host and device cudaMemcpy2DAsync ⚠ \brief Copies data between host and device cudaMemcpy2DFromArray ⚠ \brief Copies data between host and device cudaMemcpy2DFromArrayAsync ⚠ \brief Copies data between host and device cudaMemcpy2DToArray ⚠ \brief Copies data between host and device cudaMemcpy2DToArrayAsync ⚠ \brief Copies data between host and device cudaMemcpy3D ⚠ \brief Copies data between 3D objects cudaMemcpy3DAsync ⚠ \brief Copies data between 3D objects cudaMemcpy3DPeer ⚠ \brief Copies memory between devices cudaMemcpy3DPeerAsync ⚠ \brief Copies memory between devices asynchronously. cudaMemcpyArrayToArray ⚠ \brief Copies data between host and device cudaMemcpyAsync ⚠ \brief Copies data between host and device cudaMemcpyFromArray ⚠ \brief Copies data between host and device cudaMemcpyFromArrayAsync ⚠ \brief Copies data between host and device cudaMemcpyFromSymbol ⚠ \brief Copies data from the given symbol on the device cudaMemcpyFromSymbolAsync ⚠ \brief Copies data from the given symbol on the device cudaMemcpyPeer ⚠ \brief Copies memory between two devices cudaMemcpyPeerAsync ⚠ \brief Copies memory between two devices asynchronously. cudaMemcpyToArray ⚠ \brief Copies data between host and device cudaMemcpyToArrayAsync ⚠ \brief Copies data between host and device cudaMemcpyToSymbol ⚠ \brief Copies data to the given symbol on the device cudaMemcpyToSymbolAsync ⚠ \brief Copies data to the given symbol on the device cudaMemset ⚠ \brief Initializes or sets device memory to a value cudaMemset2D ⚠ \brief Initializes or sets device memory to a value cudaMemset2DAsync ⚠ \brief Initializes or sets device memory to a value cudaMemset3D ⚠ \brief Initializes or sets device memory to a value cudaMemset3DAsync ⚠ \brief Initializes or sets device memory to a value cudaMemsetAsync ⚠ \brief Initializes or sets device memory to a value cudaMipmappedArrayGetMemoryRequirements ⚠ \brief Returns the memory requirements of a CUDA mipmapped array cudaMipmappedArrayGetSparseProperties ⚠ cudaOccupancyAvailableDynamicSMemPerBlock ⚠ \brief Returns dynamic shared memory available per block when launching \p numBlocks blocks on SM. cudaOccupancyMaxActiveBlocksPerMultiprocessor ⚠ \brief Returns occupancy for a device function cudaOccupancyMaxActiveBlocksPerMultiprocessorWithFlags ⚠ \brief Returns occupancy for a device function with the specified flags cudaOccupancyMaxActiveClusters ⚠ \brief Given the kernel function (\p func) and launch configuration
(\p config), return the maximum number of clusters that could co-exist
on the target device in \p *numClusters. cudaOccupancyMaxPotentialClusterSize ⚠ \brief Given the kernel function (\p func) and launch configuration
(\p config), return the maximum cluster size in \p *clusterSize. cudaPeekAtLastError ⚠ \brief Returns the last error from a runtime call cudaPointerGetAttributes ⚠ \brief Returns attributes about a specified pointer cudaRuntimeGetVersion ⚠ \brief Returns the CUDA Runtime version cudaSetDevice ⚠ \brief Set device to be used for GPU executions cudaSetDeviceFlags ⚠ \brief Sets flags to be used for device executions cudaSetDoubleForDevice ⚠ \brief Converts a double argument to be executed on a device cudaSetDoubleForHost ⚠ \brief Converts a double argument after execution on a device cudaSetValidDevices ⚠ \brief Set a list of devices that can be used for CUDA cudaSignalExternalSemaphoresAsync_v2 ⚠ \brief Signals a set of external semaphore objects cudaStreamAddCallback ⚠ \brief Add a callback to a compute stream cudaStreamAttachMemAsync ⚠ cudaStreamBeginCapture ⚠ \brief Begins graph capture on a stream cudaStreamBeginCaptureToGraph ⚠ \brief Begins graph capture on a stream to an existing graph cudaStreamCopyAttributes ⚠ \brief Copies attributes from source stream to destination stream. cudaStreamCreate ⚠ \brief Create an asynchronous stream cudaStreamCreateWithFlags ⚠ \brief Create an asynchronous stream cudaStreamCreateWithPriority ⚠ \brief Create an asynchronous stream with the specified priority cudaStreamDestroy ⚠ \brief Destroys and cleans up an asynchronous stream cudaStreamEndCapture ⚠ \brief Ends capture on a stream, returning the captured graph cudaStreamGetAttribute ⚠ \brief Queries stream attribute. cudaStreamGetCaptureInfo_v2 ⚠ \brief Query a stream’s capture state cudaStreamGetCaptureInfo_v3 ⚠ \brief Query a stream’s capture state (12.3+) cudaStreamGetFlags ⚠ \brief Query the flags of a stream cudaStreamGetId ⚠ \brief Query the Id of a stream cudaStreamGetPriority ⚠ \brief Query the priority of a stream cudaStreamIsCapturing ⚠ \brief Returns a stream’s capture status cudaStreamQuery ⚠ \brief Queries an asynchronous stream for completion status cudaStreamSetAttribute ⚠ \brief Sets stream attribute. cudaStreamSynchronize ⚠ \brief Waits for stream tasks to complete cudaStreamUpdateCaptureDependencies ⚠ \brief Update the set of dependencies in a capturing stream (11.3+) cudaStreamUpdateCaptureDependencies_v2 ⚠ \brief Update the set of dependencies in a capturing stream (12.3+) cudaStreamWaitEvent ⚠ \brief Make a compute stream wait on an event cudaThreadExchangeStreamCaptureMode ⚠ \brief Swaps the stream capture interaction mode for a thread cudaThreadExit ⚠ \brief Exit and clean up from CUDA launches cudaThreadGetCacheConfig ⚠ \brief Returns the preferred cache configuration for the current device. cudaThreadGetLimit ⚠ \brief Returns resource limits cudaThreadSetCacheConfig ⚠ \brief Sets the preferred cache configuration for the current device. cudaThreadSetLimit ⚠ \brief Set resource limits cudaThreadSynchronize ⚠ \brief Wait for compute device to finish cudaUserObjectCreate ⚠ \brief Create a user object cudaUserObjectRelease ⚠ \brief Release a reference to a user object cudaUserObjectRetain ⚠ \brief Retain a reference to a user object cudaWaitExternalSemaphoresAsync_v2 ⚠ \brief Waits on a set of external semaphore objects 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 CUDA_BATCH_MEM_OP_NODE_PARAMS_v1 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_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 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.
num_bytes is limited by CU_DEVICE_ATTRIBUTE_MAX_ACCESS_POLICY_WINDOW_SIZE.
Partition into many segments and assign segments such that:
sum of “hit segments” / window == approx. ratio.
sum of “miss segments” / window == approx 1-ratio.
Segments and ratio specifications are fitted to the capabilities of
the architecture.
Accesses in a hit segment apply the hitProp access policy.
Accesses in a miss segment apply the missProp access policy. CUarray 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
\param info Information describing what actions to take as a result of this trim notification.
\param userData Pointer to user defined data provided at registration.
\param callback The callback handle associated with this specific callback. CUasyncCallbackHandle CUasyncNotificationInfo Information passed to the user via the async notification callback CUcontext CUctxCigParam CIG Context Create Params CUctxCreateParams Params for creating CUDA context
Exactly one of execAffinityParams and cigParams
must be non-NULL. CUdevResource \struct 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.
\code
struct {
CUdevResourceType type;
union {
CUdevSmResource sm;
};
};
\endcode CUdevResourceDesc \typedef struct CUdevResourceDesc_st* CUdevResourceDesc;
An opaque descriptor handle. The descriptor encapsulates multiple created and configured resources.
Created via ::cuDevResourceGenerateDesc CUdevResource_v1 \struct 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.
\code
struct {
CUdevResourceType type;
union {
CUdevSmResource sm;
};
};
\endcode CUdevSmResource \struct CUdevSmResource
Data for SM-related resources CUdevice CUdevice_v1 CUdeviceptr CUdeviceptr_v2 CUdevprop Legacy device properties CUdevprop_v1 Legacy device properties CUevent CUexecAffinityParam Execution Affinity Parameters CUexecAffinityParam_v1 Execution Affinity Parameters CUexecAffinitySmCount Value for ::CU_EXEC_AFFINITY_TYPE_SM_COUNT CUexecAffinitySmCount_v1 Value for ::CU_EXEC_AFFINITY_TYPE_SM_COUNT CUexternalMemory CUexternalSemaphore CUfunction CUgraph CUgraphConditionalHandle CUgraphDeviceNode CUgraphEdgeData Optional annotation for edges in a CUDA graph. Note, all edges implicitly have annotations and
default to a zero-initialized value if not specified. A zero-initialized struct indicates a
standard full serialization of two nodes with memory visibility. CUgraphExec CUgraphExecUpdateResultInfo Result information returned by cuGraphExecUpdate CUgraphExecUpdateResultInfo_v1 Result information returned by cuGraphExecUpdate CUgraphNode CUgraphNodeParams Graph node parameters. See ::cuGraphAddNode. CUgraphicsResource CUgreenCtx \typedef typedef struct CUgreenCtx_st* 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
\param userData Argument value passed to the function CUipcEventHandle CUDA IPC event handle CUipcEventHandle_v1 CUDA IPC event handle CUipcMemHandle CUDA IPC mem handle CUipcMemHandle_v1 CUDA IPC mem handle CUkernel 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 CUlibraryHostUniversalFunctionAndDataTable CUlinkState 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. 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. For IPC
between processes on different nodes they must be connected via the
NVSwitch fabric. CUmemGenericAllocationHandle CUmemGenericAllocationHandle_v1 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 CUmemoryPool CUmipmappedArray CUmodule 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 \param blockSize Block size of the kernel. CUstream 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
\param hStream The stream the callback was added to, as passed to ::cuStreamAddCallback. May be NULL.
\param status ::CUDA_SUCCESS or any persistent error on the stream.
\param userData User parameter provided at registration. CUsurfObject CUsurfObject_v1 CUsurfref CUtensorMap Tensor map descriptor. Requires compiler support for aligning to 64 bytes. CUtexObject CUtexObject_v1 CUtexref CUuserObject CUuuid cudaArray_const_t CUDA array (as source copy argument) cudaArray_t CUDA array cudaAsyncCallback cudaAsyncCallbackHandle_t CUDA async callback handle cudaAsyncNotificationInfo_t Information describing an async notification event cudaEvent_t CUDA event types cudaExternalMemory_t CUDA external memory cudaExternalSemaphore_t CUDA external semaphore cudaFunction_t CUDA function cudaGraphConditionalHandle CUDA handle for conditional graph nodes cudaGraphDeviceNode_t CUDA device node handle for device-side node update cudaGraphEdgeData Optional annotation for edges in a CUDA graph. Note, all edges implicitly have annotations and
default to a zero-initialized value if not specified. A zero-initialized struct indicates a
standard full serialization of two nodes with memory visibility. cudaGraphExecUpdateResultInfo Result information returned by cudaGraphExecUpdate cudaGraphExec_t CUDA executable (launchable) graph cudaGraphInstantiateParams Graph instantiation parameters cudaGraphNode_t CUDA graph node. cudaGraph_t CUDA graph cudaGraphicsResource_t CUDA graphics resource types cudaHostFn_t CUDA host function
\param userData Argument value passed to the function cudaIpcEventHandle_t CUDA IPC event handle cudaIpcMemHandle_t CUDA IPC memory handle cudaKernel_t CUDA kernel cudaLaunchAttribute Launch attribute cudaLaunchConfig_t CUDA extensible launch configuration cudaLaunchMemSyncDomainMap Memory Synchronization Domain map cudaMemFabricHandle_t cudaMemPool_t CUDA memory pool cudaMipmappedArray_const_t CUDA mipmapped array (as source argument) cudaMipmappedArray_t CUDA mipmapped array cudaStreamCallback_t Type of stream callback functions.
\param stream The stream as passed to ::cudaStreamAddCallback, may be NULL.
\param status ::cudaSuccess or any persistent error on the stream.
\param userData User parameter provided at registration. cudaStream_t CUDA stream cudaSurfaceObject_t An opaque value that represents a CUDA Surface object cudaTextureObject_t An opaque value that represents a CUDA texture object cudaUUID_t cudaUserObject_t CUDA user object for graphs cuuint32_t cuuint64_t CUDA_EXTERNAL_MEMORY_HANDLE_DESC_st__bindgen_ty_1 CUDA_EXTERNAL_SEMAPHORE_HANDLE_DESC_st__bindgen_ty_1 CUDA_EXTERNAL_SEMAPHORE_SIGNAL_PARAMS_st__bindgen_ty_1__bindgen_ty_2 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_RESOURCE_DESC_st__bindgen_ty_1 CUarrayMapInfo_st__bindgen_ty_1 CUarrayMapInfo_st__bindgen_ty_2 CUarrayMapInfo_st__bindgen_ty_3 CUasyncNotificationInfo_st__bindgen_ty_1 CUdevResource_st__bindgen_ty_1 CUexecAffinityParam_st__bindgen_ty_1 CUgraphNodeParams_st__bindgen_ty_1 CUlaunchAttributeValue_union Launch attributes union; used as value field of ::CUlaunchAttribute CUstreamBatchMemOpParams_union Per-operation parameters for ::cuStreamBatchMemOp CUstreamBatchMemOpParams_union_CUstreamMemOpWaitValueParams_st__bindgen_ty_1 CUstreamBatchMemOpParams_union_CUstreamMemOpWriteValueParams_st__bindgen_ty_1 cudaAsyncNotificationInfo__bindgen_ty_1 cudaExternalMemoryHandleDesc__bindgen_ty_1 cudaExternalSemaphoreHandleDesc__bindgen_ty_1 cudaExternalSemaphoreSignalParams__bindgen_ty_1__bindgen_ty_2 cudaExternalSemaphoreSignalParams_v1__bindgen_ty_1__bindgen_ty_2 cudaExternalSemaphoreWaitParams__bindgen_ty_1__bindgen_ty_2 cudaExternalSemaphoreWaitParams_v1__bindgen_ty_1__bindgen_ty_2 cudaGraphKernelNodeUpdate__bindgen_ty_1 cudaGraphNodeParams__bindgen_ty_1 cudaLaunchAttributeValue Launch attributes union; used as value field of ::cudaLaunchAttribute cudaResourceDesc__bindgen_ty_1