6.143. CUpti_Profiler_DeviceSupported_Params

struct CUpti_Profiler_DeviceSupported_Params

cuptiProfilerDeviceSupported 的参数。

公共成员

size_t structSize

[in] 必须是 CUpti_Profiler_DeviceSupported_Params_STRUCT_SIZE

void *pPriv

[in] 赋值为 NULL

CUdevice cuDevice

[in] 如果为 NULL,则使用当前的 CUcontext

CUpti_Profiler_Support_Level isSupported

[out] 总体 SUPPORTED / UNSUPPORTED 标志,表示分析和 PC 采样 API 是否在给定的设备和配置上工作。如果所有以下标志都为 SUPPORTED,则为 SUPPORTED,否则为 UNSUPPORTED。

CUpti_Profiler_Support_Level architecture

[out] 如果设备架构级别支持分析 API (计算能力 >= 7.0),则为 SUPPORTED,否则为 UNSUPPORTED

CUpti_Profiler_Support_Level sli

[out] 如果未启用 SLI,则为 SUPPORTED,否则为 UNSUPPORTED

CUpti_Profiler_Support_Level vGpu

[out] 如果支持 vGPU 并且启用了分析,则为 SUPPORTED;如果支持分析但未启用,则为 DISABLED;否则为 UNSUPPORTED

CUpti_Profiler_Support_Level confidentialCompute

[out] 如果未启用机密计算,则为 SUPPORTED,否则为 UNSUPPORTED

CUpti_Profiler_Support_Level cmp

[out] 如果不是 NVIDIA 加密货币挖矿处理器 (CMP),则为 SUPPORTED,否则为 UNSUPPORTED

CUpti_Profiler_Support_Level wsl

[out] 如果支持 WSL,则为 SUPPORTED,否则为 UNSUPPORTED

CUpti_Profiler_API api

[in] 将检查设备支持的 CUPTI API 类型