7.57. 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
CUlaunchAttributeValue::@9  deviceUpdatableKernelNode
CUlaunchAttributeValue::@8  launchCompletionEvent
CUlaunchMemSyncDomain memSyncDomain
struct CUlaunchMemSyncDomainMap memSyncDomainMap
int  priority
CUlaunchAttributeValue::@7  programmaticEvent
int  programmaticStreamSerializationAllowed
unsigned int  sharedMemCarveout
CUsynchronizationPolicy  syncPolicy

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).

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

Value of launch attribute CU_LAUNCH_ATTRIBUTE_DEVICE_UPDATABLE_KERNEL_NODE. with the following fields:

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

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

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

Value of launch attribute CU_LAUNCH_ATTRIBUTE_LAUNCH_COMPLETION_EVENT with the following fields:

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 with the following fields:

  • CUevent event - Event to fire when all blocks trigger it.

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

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

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

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