#[repr(C)]
pub union CUlaunchAttributeValue_union {
Show 14 fields
pub pad: [c_char; 64],
pub accessPolicyWindow: CUaccessPolicyWindow,
pub cooperative: c_int,
pub syncPolicy: CUsynchronizationPolicy,
pub clusterDim: CUlaunchAttributeValue_union__bindgen_ty_1,
pub clusterSchedulingPolicyPreference: CUclusterSchedulingPolicy,
pub programmaticStreamSerializationAllowed: c_int,
pub programmaticEvent: CUlaunchAttributeValue_union__bindgen_ty_2,
pub launchCompletionEvent: CUlaunchAttributeValue_union__bindgen_ty_3,
pub priority: c_int,
pub memSyncDomainMap: CUlaunchMemSyncDomainMap,
pub memSyncDomain: CUlaunchMemSyncDomain,
pub deviceUpdatableKernelNode: CUlaunchAttributeValue_union__bindgen_ty_4,
pub sharedMemCarveout: c_uint,
}
Expand description
Launch attributes union; used as value field of ::CUlaunchAttribute
Fields§
§pad: [c_char; 64]
§accessPolicyWindow: CUaccessPolicyWindow
< Value of launch attribute ::CU_LAUNCH_ATTRIBUTE_ACCESS_POLICY_WINDOW.
cooperative: c_int
< Value of launch attribute ::CU_LAUNCH_ATTRIBUTE_COOPERATIVE. Nonzero indicates a cooperative kernel (see ::cuLaunchCooperativeKernel).
syncPolicy: CUsynchronizationPolicy
< 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
< Value of launch attribute ::CU_LAUNCH_ATTRIBUTE_CLUSTER_SCHEDULING_POLICY_PREFERENCE. Cluster scheduling policy preference for the kernel.
programmaticStreamSerializationAllowed: c_int
< Value of launch attribute ::CU_LAUNCH_ATTRIBUTE_PROGRAMMATIC_STREAM_SERIALIZATION.
programmaticEvent: CUlaunchAttributeValue_union__bindgen_ty_2
§launchCompletionEvent: CUlaunchAttributeValue_union__bindgen_ty_3
§priority: c_int
< Value of launch attribute ::CU_LAUNCH_ATTRIBUTE_PRIORITY. Execution priority of the kernel.
memSyncDomainMap: CUlaunchMemSyncDomainMap
< Value of launch attribute ::CU_LAUNCH_ATTRIBUTE_MEM_SYNC_DOMAIN_MAP. See ::CUlaunchMemSyncDomainMap.
memSyncDomain: CUlaunchMemSyncDomain
< 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.
Trait Implementations§
Source§impl Clone for CUlaunchAttributeValue_union
impl Clone for CUlaunchAttributeValue_union
Source§fn clone(&self) -> CUlaunchAttributeValue_union
fn clone(&self) -> CUlaunchAttributeValue_union
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more