7.40. cudaLaunchAttributeValue Union Reference
[Data types used by CUDA Runtime]
Launch attributes union; used as value field of cudaLaunchAttribute
Public Variables
- struct cudaAccessPolicyWindow accessPolicyWindow
- cudaLaunchAttributeValue::@31 clusterDim
- enumcudaClusterSchedulingPolicy clusterSchedulingPolicyPreference
- int cooperative
- cudaGraphDeviceNode_t devNode
- int deviceUpdatable
- cudaLaunchAttributeValue::@34 deviceUpdatableKernelNode
- cudaEvent_t event
- int flags
- cudaLaunchAttributeValue::@33 launchCompletionEvent
- cudaLaunchMemSyncDomain memSyncDomain
- struct cudaLaunchMemSyncDomainMap memSyncDomainMap
- int priority
- cudaLaunchAttributeValue::@32 programmaticEvent
- int programmaticStreamSerializationAllowed
- enum cudaSynchronizationPolicy syncPolicy
- int triggerAtBlockStart
Variables
- struct cudaAccessPolicyWindowcudaLaunchAttributeValue::accessPolicyWindow [inherited]
-
Value of launch attribute cudaLaunchAttributeAccessPolicyWindow.
- cudaLaunchAttributeValue::@31 cudaLaunchAttributeValue::clusterDim [inherited]
-
Value of launch attribute cudaLaunchAttributeClusterDimension that represents the desired cluster dimensions for the kernel. Opaque type with the following fields:
-
x - The X dimension of the cluster, in blocks. Must be a divisor of the grid X dimension.
-
y - The Y dimension of the cluster, in blocks. Must be a divisor of the grid Y dimension.
-
z - The Z dimension of the cluster, in blocks. Must be a divisor of the grid Z dimension.
-
- enumcudaClusterSchedulingPolicycudaLaunchAttributeValue::clusterSchedulingPolicyPreference [inherited]
-
Value of launch attribute cudaLaunchAttributeClusterSchedulingPolicyPreference. Cluster scheduling policy preference for the kernel.
- int cudaLaunchAttributeValue::cooperative [inherited]
-
Value of launch attribute cudaLaunchAttributeCooperative. Nonzero indicates a cooperative kernel (see cudaLaunchCooperativeKernel).
- cudaGraphDeviceNode_tcudaLaunchAttributeValue::devNode [inherited]
-
Returns a handle to pass to the various device-side update functions.
- int cudaLaunchAttributeValue::deviceUpdatable [inherited]
-
Whether or not the resulting kernel node should be device-updatable.
- cudaLaunchAttributeValue::@34 cudaLaunchAttributeValue::deviceUpdatableKernelNode [inherited]
-
Value of launch attribute CU_LAUNCH_ATTRIBUTE_DEVICE_UPDATABLE_KERNEL_NODE.
- cudaEvent_tcudaLaunchAttributeValue::event [inherited]
-
Event to fire when all blocks trigger it
Event to fire when the last block launches
- int cudaLaunchAttributeValue::flags [inherited]
-
Event record flags, see cudaEventRecordWithFlags. Does not accept cudaEventRecordExternal.
Event record flags, see cudaEventRecordWithFlags. Does not accept cudaEventRecordExternal.
- cudaLaunchAttributeValue::@33 cudaLaunchAttributeValue::launchCompletionEvent [inherited]
-
Value of launch attribute cudaLaunchAttributeLaunchCompletionEvent.
- cudaLaunchMemSyncDomaincudaLaunchAttributeValue::memSyncDomain [inherited]
-
Value of launch attribute cudaLaunchAttributeMemSyncDomain. See cudaLaunchMemSyncDomain.
- struct cudaLaunchMemSyncDomainMapcudaLaunchAttributeValue::memSyncDomainMap [inherited]
-
Value of launch attribute cudaLaunchAttributeMemSyncDomainMap. See cudaLaunchMemSyncDomainMap.
- int cudaLaunchAttributeValue::priority [inherited]
-
Value of launch attribute cudaLaunchAttributePriority. Execution priority of the kernel.
- cudaLaunchAttributeValue::@32 cudaLaunchAttributeValue::programmaticEvent [inherited]
-
Value of launch attribute cudaLaunchAttributeProgrammaticEvent.
- int cudaLaunchAttributeValue::programmaticStreamSerializationAllowed [inherited]
-
Value of launch attribute cudaLaunchAttributeProgrammaticStreamSerialization.
- enum cudaSynchronizationPolicy cudaLaunchAttributeValue::syncPolicy [inherited]
-
Value of launch attribute cudaLaunchAttributeSynchronizationPolicy. cudaSynchronizationPolicy for work queued up in this stream.
- int cudaLaunchAttributeValue::triggerAtBlockStart [inherited]
-
If this is set to non-0, each block launch will automatically trigger the event