Package | Description |
---|---|
org.bytedeco.cuda.global | |
org.bytedeco.cuda.nvml |
Modifier and Type | Method and Description |
---|---|
static int |
nvml.nvmlDeviceDiscoverGpus(nvmlPciInfo_t pciInfo)
Request the OS and the NVIDIA kernel driver to rediscover a portion of the PCI subsystem looking for GPUs that
were previously removed.
|
static int |
nvml.nvmlDeviceGetNvLinkRemotePciInfo_v2(nvmlDevice_st device,
int link,
nvmlPciInfo_t pci)
Retrieves the PCI information for the remote node on a NvLink link
Note: pciSubSystemId is not filled in this function and is indeterminate
For Pascal &tm; or newer fully supported devices.
|
static int |
nvml.nvmlDeviceGetPciInfo_v2(nvmlDevice_st device,
nvmlPciInfo_t pci)
NVML API versioning support
|
static int |
nvml.nvmlDeviceGetPciInfo_v3(nvmlDevice_st device,
nvmlPciInfo_t pci)
Retrieves the PCI attributes of this device.
|
static int |
nvml.nvmlDeviceModifyDrainState(nvmlPciInfo_t pciInfo,
int newState)
Modify the drain state of a GPU.
|
static int |
nvml.nvmlDeviceQueryDrainState(nvmlPciInfo_t pciInfo,
int[] currentState) |
static int |
nvml.nvmlDeviceQueryDrainState(nvmlPciInfo_t pciInfo,
IntBuffer currentState) |
static int |
nvml.nvmlDeviceQueryDrainState(nvmlPciInfo_t pciInfo,
IntPointer currentState)
Query the drain state of a GPU.
|
static int |
nvml.nvmlDeviceRemoveGpu_v2(nvmlPciInfo_t pciInfo,
int gpuState,
int linkState)
This method will remove the specified GPU from the view of both NVML and the NVIDIA kernel driver
as long as no other processes are attached.
|
Modifier and Type | Method and Description |
---|---|
nvmlPciInfo_t |
nvmlPciInfo_t.bus(int setter) |
nvmlPciInfo_t |
nvmlPciInfo_t.busId(int i,
byte setter) |
nvmlPciInfo_t |
nvmlPciInfo_t.busIdLegacy(int i,
byte setter) |
nvmlPciInfo_t |
nvmlPciInfo_t.device(int setter) |
nvmlPciInfo_t |
nvmlPciInfo_t.domain(int setter) |
nvmlPciInfo_t |
nvmlPciInfo_t.getPointer(long i) |
nvmlPciInfo_t |
nvmlPciInfo_t.pciDeviceId(int setter) |
nvmlPciInfo_t |
nvmlExcludedDeviceInfo_t.pciInfo()
The PCI information for the excluded GPU
|
nvmlPciInfo_t |
nvmlPciInfo_t.pciSubSystemId(int setter) |
nvmlPciInfo_t |
nvmlPciInfo_t.position(long position) |
Modifier and Type | Method and Description |
---|---|
nvmlExcludedDeviceInfo_t |
nvmlExcludedDeviceInfo_t.pciInfo(nvmlPciInfo_t setter) |
Copyright © 2024. All rights reserved.