cudaLaunchAttributeValue

union cudaLaunchAttributeValue

Launch attributes union; used as value field of cudaLaunchAttribute.

Public Members

struct cudaAccessPolicyWindow accessPolicyWindow

Value of launch attribute cudaLaunchAttributeAccessPolicyWindow.

struct cudaLaunchAttributeValue::[anonymous] clusterDim

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.

enum cudaClusterSchedulingPolicy clusterSchedulingPolicyPreference

Value of launch attribute cudaLaunchAttributeClusterSchedulingPolicyPreference.

Cluster scheduling policy preference for the kernel.

int cooperative

Value of launch attribute cudaLaunchAttributeCooperative.

Nonzero indicates a cooperative kernel (see cudaLaunchCooperativeKernel).

int deviceUpdatable
struct cudaLaunchAttributeValue::[anonymous] deviceUpdatableKernelNode

Value of launch attribute cudaLaunchAttributeDeviceUpdatableKernelNode with the following fields:

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

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

cudaGraphDeviceNode_t devNode
cudaEvent_t event
int flags
struct cudaLaunchAttributeValue::[anonymous] launchCompletionEvent

Value of launch attribute cudaLaunchAttributeLaunchCompletionEvent with the following fields:

cudaLaunchMemSyncDomain memSyncDomain

Value of launch attribute cudaLaunchAttributeMemSyncDomain.

See cudaLaunchMemSyncDomain.

cudaLaunchMemSyncDomainMap memSyncDomainMap

Value of launch attribute cudaLaunchAttributeMemSyncDomainMap.

See cudaLaunchMemSyncDomainMap.

unsigned int nvlinkUtilCentricScheduling

Value of launch attribute cudaLaunchAttributeNvlinkUtilCentricScheduling.

char pad[64]
cudaLaunchAttributePortableClusterMode portableClusterSizeMode

Value of launch attribute cudaLaunchAttributePortableClusterSizeMode.

struct cudaLaunchAttributeValue::[anonymous] preferredClusterDim

Value of launch attribute cudaLaunchAttributePreferredClusterDimension that represents the desired preferred cluster dimensions for the kernel.

Opaque type with the following fields:

int priority

Value of launch attribute cudaLaunchAttributePriority.

Execution priority of the kernel.

struct cudaLaunchAttributeValue::[anonymous] programmaticEvent

Value of launch attribute cudaLaunchAttributeProgrammaticEvent with the following fields:

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

  • int flags; - Event record flags, see cudaEventRecordWithFlags. Does not accept cudaEventRecordExternal.

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

int programmaticStreamSerializationAllowed

Value of launch attribute cudaLaunchAttributeProgrammaticStreamSerialization.

unsigned int sharedMemCarveout

Value of launch attribute cudaLaunchAttributePreferredSharedMemoryCarveout.

cudaSharedMemoryMode sharedMemoryMode

Value of launch attribute cudaLaunchAttributeSharedMemoryMode.

See cudaSharedMemoryMode for acceptable values.

enum cudaSynchronizationPolicy syncPolicy

Value of launch attribute cudaLaunchAttributeSynchronizationPolicy.

cudaSynchronizationPolicy for work queued up in this stream.

int triggerAtBlockStart
unsigned int x
unsigned int y
unsigned int z