Crate cuda_sys

Source

Structs§

CUevent_st
CUexternalMemory_st
CUexternalSemaphore_st
CUfunc_st
CUgraphDeviceUpdatableNode_st
CUgraphExec_st
CUgraphNode_st
CUgraph_st
CUkern_st
CUmemPoolHandle_st
CUstream_st
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_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

Functions§

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

Type Aliases§

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

Unions§

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