7.55. CUlaunchAttributeValue Union Reference

[Data types used by CUDA driver]

Launch attributes union; used as value field of CUlaunchAttribute

Public Variables

struct CUaccessPolicyWindow accessPolicyWindow
CUlaunchAttributeValue::@6  clusterDim
CUclusterSchedulingPolicy clusterSchedulingPolicyPreference
int  cooperative
CUgraphDeviceNode devNode
int  deviceUpdatable
CUlaunchAttributeValue::@9  deviceUpdatableKernelNode
CUevent event
int  flags
CUlaunchAttributeValue::@8  launchCompletionEvent
CUlaunchMemSyncDomain memSyncDomain
struct CUlaunchMemSyncDomainMap memSyncDomainMap
int  priority
CUlaunchAttributeValue::@7  programmaticEvent
int  programmaticStreamSerializationAllowed
CUsynchronizationPolicy  syncPolicy
int  triggerAtBlockStart

Variables

struct CUaccessPolicyWindowCUlaunchAttributeValue::accessPolicyWindow [inherited]

Value of launch attribute CU_LAUNCH_ATTRIBUTE_ACCESS_POLICY_WINDOW.

CUlaunchAttributeValue::@6 CUlaunchAttributeValue::clusterDim [inherited]

Value of launch attribute CU_LAUNCH_ATTRIBUTE_CLUSTER_DIMENSION 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.

CUclusterSchedulingPolicyCUlaunchAttributeValue::clusterSchedulingPolicyPreference [inherited]

Value of launch attribute CU_LAUNCH_ATTRIBUTE_CLUSTER_SCHEDULING_POLICY_PREFERENCE. Cluster scheduling policy preference for the kernel.

int CUlaunchAttributeValue::cooperative [inherited]

Value of launch attribute CU_LAUNCH_ATTRIBUTE_COOPERATIVE. Nonzero indicates a cooperative kernel (see cuLaunchCooperativeKernel).

CUgraphDeviceNodeCUlaunchAttributeValue::devNode [inherited]

Returns a handle to pass to the various device-side update functions.

int CUlaunchAttributeValue::deviceUpdatable [inherited]

Whether or not the resulting kernel node should be device-updatable.

CUlaunchAttributeValue::@9 CUlaunchAttributeValue::deviceUpdatableKernelNode [inherited]
CUeventCUlaunchAttributeValue::event [inherited]

Event to fire when all blocks trigger it

Event to fire when the last block launches

int CUlaunchAttributeValue::flags [inherited]

Event record flags, see cuEventRecordWithFlags. Does not accept CU_EVENT_RECORD_EXTERNAL.

Event record flags, see cuEventRecordWithFlags. Does not accept CU_EVENT_RECORD_EXTERNAL.

CUlaunchAttributeValue::@8 CUlaunchAttributeValue::launchCompletionEvent [inherited]

Value of launch attribute CU_LAUNCH_ATTRIBUTE_LAUNCH_COMPLETION_EVENT.

CUlaunchMemSyncDomainCUlaunchAttributeValue::memSyncDomain [inherited]
struct CUlaunchMemSyncDomainMapCUlaunchAttributeValue::memSyncDomainMap [inherited]
int CUlaunchAttributeValue::priority [inherited]

Value of launch attribute CU_LAUNCH_ATTRIBUTE_PRIORITY. Execution priority of the kernel.

CUlaunchAttributeValue::@7 CUlaunchAttributeValue::programmaticEvent [inherited]

Value of launch attribute CU_LAUNCH_ATTRIBUTE_PROGRAMMATIC_EVENT.

int CUlaunchAttributeValue::programmaticStreamSerializationAllowed [inherited]
CUsynchronizationPolicy CUlaunchAttributeValue::syncPolicy [inherited]

Value of launch attribute CU_LAUNCH_ATTRIBUTE_SYNCHRONIZATION_POLICY. CUsynchronizationPolicy for work queued up in this stream

int CUlaunchAttributeValue::triggerAtBlockStart [inherited]

If this is set to non-0, each block launch will automatically trigger the event