NVML API 参考指南 (PDF) - vR570 (更旧版本) - 最近更新于 2025 年 1 月 29 日 - 发送反馈

5.32. nvmlGpuInstanceProfileInfo_v2_t 结构体参考

[多实例 GPU 管理]

GPU 实例配置文件信息 (v2)。

版本 2 在结构体的开头添加了 nvmlGpuInstanceProfileInfo_v2_t::version 字段,并在结尾添加了 nvmlGpuInstanceProfileInfo_v2_t::name 字段。此结构体与 nvmlGpuInstanceProfileInfo_t 不向后兼容。

公共变量

unsigned int  copyEngineCount
复制引擎计数。
unsigned int  decoderCount
解码器引擎计数。
unsigned int  encoderCount
编码器引擎计数。
unsigned int  id
设备内唯一的配置文件 ID。
unsigned int  instanceCount
GPU 实例计数。
unsigned int  isP2pSupported
点对点 (Peer-to-Peer) 支持。
unsigned int  jpegCount
JPEG 引擎计数。
unsigned long long  memorySizeMB
内存大小(MB)。
unsigned int  multiprocessorCount
流式多处理器 (Streaming Multiprocessor) 计数。
char  name[NVML_DEVICE_NAME_V2_BUFFER_SIZE]
配置文件名称。
unsigned int  ofaCount
OFA 引擎计数。
unsigned int  sliceCount
GPU Slice 计数。
unsigned int  version
结构体版本标识符(设置为 nvmlGpuInstanceProfileInfo_v2)。

变量

unsigned int nvmlGpuInstanceProfileInfo_v2_t::copyEngineCount [继承]

复制引擎计数。

unsigned int nvmlGpuInstanceProfileInfo_v2_t::decoderCount [继承]

解码器引擎计数。

unsigned int nvmlGpuInstanceProfileInfo_v2_t::encoderCount [继承]

编码器引擎计数。

unsigned int nvmlGpuInstanceProfileInfo_v2_t::id [继承]

设备内唯一的配置文件 ID。

unsigned int nvmlGpuInstanceProfileInfo_v2_t::instanceCount [继承]

GPU 实例计数。

unsigned int nvmlGpuInstanceProfileInfo_v2_t::isP2pSupported [继承]

点对点 (Peer-to-Peer) 支持。

unsigned int nvmlGpuInstanceProfileInfo_v2_t::jpegCount [继承]

JPEG 引擎计数。

unsigned long long nvmlGpuInstanceProfileInfo_v2_t::memorySizeMB [继承]

内存大小(MB)。

unsigned int nvmlGpuInstanceProfileInfo_v2_t::multiprocessorCount [继承]

流式多处理器 (Streaming Multiprocessor) 计数。

char nvmlGpuInstanceProfileInfo_v2_t::name[NVML_DEVICE_NAME_V2_BUFFER_SIZE] [继承]

配置文件名称。

unsigned int nvmlGpuInstanceProfileInfo_v2_t::ofaCount [继承]

OFA 引擎计数。

unsigned int nvmlGpuInstanceProfileInfo_v2_t::sliceCount [继承]

GPU Slice 计数。

unsigned int nvmlGpuInstanceProfileInfo_v2_t::version [继承]

结构体版本标识符(设置为 nvmlGpuInstanceProfileInfo_v2)。


NVML API 参考指南 (PDF) - vR570 (更旧版本) - 最近更新于 2025 年 1 月 29 日 - 发送反馈