pub type CUctxCreateParams = CUctxCreateParams_st;Expand description
Params for creating CUDA context.
Both execAffinityParams and cigParams cannot be non-NULL at the same time. If both are NULL, the context will be created as a regular CUDA context.
Aliased Type§
#[repr(C)]pub struct CUctxCreateParams {
pub execAffinityParams: *mut CUexecAffinityParam_st,
pub numExecAffinityParams: i32,
pub cigParams: *mut CUctxCigParam_st,
}Fields§
§execAffinityParams: *mut CUexecAffinityParam_stArray of execution affinity parameters to limit context resources (e.g., SM count).
Only supported Volta+ MPS. Mutually exclusive with cigParams.
numExecAffinityParams: i32Number of elements in execAffinityParams array.
Must be 0 if execAffinityParams is NULL.
cigParams: *mut CUctxCigParam_stCIG (CUDA in Graphics) parameters for sharing data from D3D12/Vulkan graphics clients.
Mutually exclusive with execAffinityParams.