7.11. CUctxCreateParams Struct Reference

[Data types used by CUDA driver]

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.

Public Variables

CUctxCigParamcigParams
CUexecAffinityParamexecAffinityParams
int  numExecAffinityParams

Variables

CUctxCigParam * CUctxCreateParams::cigParams [inherited]

CIG (CUDA in Graphics) parameters for sharing data from D3D12/Vulkan graphics clients. Mutually exclusive with execAffinityParams.

CUexecAffinityParam * CUctxCreateParams::execAffinityParams [inherited]

Array of execution affinity parameters to limit context resources (e.g., SM count). Only supported Volta+ MPS. Mutually exclusive with cigParams.

int CUctxCreateParams::numExecAffinityParams [inherited]

Number of elements in execAffinityParams array. Must be 0 if execAffinityParams is NULL.