7.52. CUlaunchAttributeValue Union Reference

[Data types used by CUDA driver]

Launch attributes union; used as value field of CUlaunchAttribute

Public Variables

struct CUaccessPolicyWindow accessPolicyWindow
CUlaunchAttributeValue::@4  clusterDim
CUclusterSchedulingPolicy clusterSchedulingPolicyPreference
int  cooperative
CUevent event
int  flags
CUlaunchAttributeValue::@6  launchCompletionEvent
CUlaunchMemSyncDomain memSyncDomain
struct CUlaunchMemSyncDomainMap memSyncDomainMap
int  priority
CUlaunchAttributeValue::@5  programmaticEvent
int  programmaticStreamSerializationAllowed
CUsynchronizationPolicy  syncPolicy
int  triggerAtBlockStart

Variables

struct CUaccessPolicyWindowCUlaunchAttributeValue::accessPolicyWindow [inherited]

Value of launch attribute CU_LAUNCH_ATTRIBUTE_ACCESS_POLICY_WINDOW.

CUlaunchAttributeValue::@4 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).

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::@6 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::@5 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