5.10. nvmlComputeInstanceProfileInfo_v2_t 结构体参考
[多实例 GPU 管理]
计算实例 profile 信息 (v2)。
版本 2 在结构体的开头添加了 nvmlComputeInstanceProfileInfo_v2_t::version 字段,并在结尾添加了 nvmlComputeInstanceProfileInfo_v2_t::name 字段。此结构体与 nvmlComputeInstanceProfileInfo_t 不向后兼容。
公共变量
- unsigned int id
- GPU 实例内的唯一 profile ID。
- unsigned int instanceCount
- 计算实例计数。
- unsigned int multiprocessorCount
- 流式多处理器计数。
- char name[NVML_DEVICE_NAME_V2_BUFFER_SIZE]
- Profile 名称。
- unsigned int sharedCopyEngineCount
- 共享复制引擎计数。
- unsigned int sharedDecoderCount
- 共享解码器引擎计数。
- unsigned int sharedEncoderCount
- 共享编码器引擎计数。
- unsigned int sharedJpegCount
- 共享 JPEG 引擎计数。
- unsigned int sharedOfaCount
- 共享 OFA 引擎计数。
- unsigned int sliceCount
- GPU Slice 计数。
- unsigned int version
- 结构体版本标识符 (设置为 nvmlComputeInstanceProfileInfo_v2)。
变量
- unsigned int nvmlComputeInstanceProfileInfo_v2_t::id [继承]
-
GPU 实例内的唯一 profile ID。
- unsigned int nvmlComputeInstanceProfileInfo_v2_t::instanceCount [继承]
-
计算实例计数。
- unsigned int nvmlComputeInstanceProfileInfo_v2_t::multiprocessorCount [继承]
-
流式多处理器计数。
- char nvmlComputeInstanceProfileInfo_v2_t::name[NVML_DEVICE_NAME_V2_BUFFER_SIZE] [继承]
-
Profile 名称。
- unsigned int nvmlComputeInstanceProfileInfo_v2_t::sharedCopyEngineCount [继承]
-
共享复制引擎计数。
- unsigned int nvmlComputeInstanceProfileInfo_v2_t::sharedDecoderCount [继承]
-
共享解码器引擎计数。
- unsigned int nvmlComputeInstanceProfileInfo_v2_t::sharedEncoderCount [继承]
-
共享编码器引擎计数。
- unsigned int nvmlComputeInstanceProfileInfo_v2_t::sharedJpegCount [继承]
-
共享 JPEG 引擎计数。
- unsigned int nvmlComputeInstanceProfileInfo_v2_t::sharedOfaCount [继承]
-
共享 OFA 引擎计数。
- unsigned int nvmlComputeInstanceProfileInfo_v2_t::sliceCount [继承]
-
GPU Slice 计数。
- unsigned int nvmlComputeInstanceProfileInfo_v2_t::version [继承]
-
结构体版本标识符 (设置为 nvmlComputeInstanceProfileInfo_v2)。