Specifies an access policy for a window, a contiguous extent of memory
beginning at base_ptr and ending at base_ptr + num_bytes.
Partition into many segments and assign segments such that.
sum of “hit segments” / window == approx. ratio.
sum of “miss segments” / window == approx 1-ratio.
Segments and ratio specifications are fitted to the capabilities of
the architecture.
Accesses in a hit segment apply the hitProp access policy.
Accesses in a miss segment apply the missProp access policy.
Optional annotation for edges in a CUDA graph. Note, all edges implicitly have annotations and
default to a zero-initialized value if not specified. A zero-initialized struct indicates a
standard full serialization of two nodes with memory visibility.
Value of launch attribute ::cudaLaunchAttributeClusterDimension that
represents the desired cluster dimensions for the kernel. Opaque type
with the following fields:
- \p x - The X dimension of the cluster, in blocks. Must be a divisor
of the grid X dimension.
- \p y - The Y dimension of the cluster, in blocks. Must be a divisor
of the grid Y dimension.
- \p z - The Z dimension of the cluster, in blocks. Must be a divisor
of the grid Z dimension.
Value of launch attribute ::cudaLaunchAttributeProgrammaticEvent
with the following fields:
- \p cudaEvent_t event - Event to fire when all blocks trigger it.
- \p int flags; - Event record flags, see ::cudaEventRecordWithFlags. Does not accept
::cudaEventRecordExternal.
- \p int triggerAtBlockStart - If this is set to non-0, each block launch will automatically trigger the event.
Value of launch attribute ::cudaLaunchAttributeLaunchCompletionEvent
with the following fields:
- \p cudaEvent_t event - Event to fire when the last block launches.
- \p int flags - Event record flags, see ::cudaEventRecordWithFlags. Does not accept
::cudaEventRecordExternal.
Optional annotation for edges in a CUDA graph. Note, all edges implicitly have annotations and
default to a zero-initialized value if not specified. A zero-initialized struct indicates a
standard full serialization of two nodes with memory visibility.
Type of stream callback functions.
\param stream The stream as passed to ::cudaStreamAddCallback, may be NULL.
\param status ::cudaSuccess or any persistent error on the stream.
\param userData User parameter provided at registration.