pub type CUstreamAttrValue = CUstreamAttrValue_v1;
Expand description
Launch attributes union; used as value field of ::CUlaunchAttribute
Aliased Type§
#[repr(C)]
pub union CUstreamAttrValue {
Show 14 fields
pub pad: [i8; 64],
pub accessPolicyWindow: CUaccessPolicyWindow_st,
pub cooperative: i32,
pub syncPolicy: CUsynchronizationPolicy_enum,
pub clusterDim: CUlaunchAttributeValue_union__bindgen_ty_1,
pub clusterSchedulingPolicyPreference: CUclusterSchedulingPolicy_enum,
pub programmaticStreamSerializationAllowed: i32,
pub programmaticEvent: CUlaunchAttributeValue_union__bindgen_ty_2,
pub launchCompletionEvent: CUlaunchAttributeValue_union__bindgen_ty_3,
pub priority: i32,
pub memSyncDomainMap: CUlaunchMemSyncDomainMap_st,
pub memSyncDomain: CUlaunchMemSyncDomain_enum,
pub deviceUpdatableKernelNode: CUlaunchAttributeValue_union__bindgen_ty_4,
pub sharedMemCarveout: u32,
}
Fields§
§pad: [i8; 64]
§accessPolicyWindow: CUaccessPolicyWindow_st
< Value of launch attribute ::CU_LAUNCH_ATTRIBUTE_ACCESS_POLICY_WINDOW.
cooperative: i32
< Value of launch attribute ::CU_LAUNCH_ATTRIBUTE_COOPERATIVE. Nonzero indicates a cooperative kernel (see ::cuLaunchCooperativeKernel).
syncPolicy: CUsynchronizationPolicy_enum
< Value of launch attribute ::CU_LAUNCH_ATTRIBUTE_SYNCHRONIZATION_POLICY. ::CUsynchronizationPolicy for work queued up in this stream
clusterDim: CUlaunchAttributeValue_union__bindgen_ty_1
§clusterSchedulingPolicyPreference: CUclusterSchedulingPolicy_enum
< Value of launch attribute ::CU_LAUNCH_ATTRIBUTE_CLUSTER_SCHEDULING_POLICY_PREFERENCE. Cluster scheduling policy preference for the kernel.
programmaticStreamSerializationAllowed: i32
< Value of launch attribute ::CU_LAUNCH_ATTRIBUTE_PROGRAMMATIC_STREAM_SERIALIZATION.
programmaticEvent: CUlaunchAttributeValue_union__bindgen_ty_2
§launchCompletionEvent: CUlaunchAttributeValue_union__bindgen_ty_3
§priority: i32
< Value of launch attribute ::CU_LAUNCH_ATTRIBUTE_PRIORITY. Execution priority of the kernel.
memSyncDomainMap: CUlaunchMemSyncDomainMap_st
< Value of launch attribute ::CU_LAUNCH_ATTRIBUTE_MEM_SYNC_DOMAIN_MAP. See ::CUlaunchMemSyncDomainMap.
memSyncDomain: CUlaunchMemSyncDomain_enum
< Value of launch attribute ::CU_LAUNCH_ATTRIBUTE_MEM_SYNC_DOMAIN. See::CUlaunchMemSyncDomain
deviceUpdatableKernelNode: CUlaunchAttributeValue_union__bindgen_ty_4
< Value of launch attribute ::CU_LAUNCH_ATTRIBUTE_PREFERRED_SHARED_MEMORY_CARVEOUT.