# Functions
No description provided by the author
GetDeviceCount is for getting the number of GPU devices in the instance.
No description provided by the author
No description provided by the author
NewDeviceLite is for initializing a new GPU device.
NewMockGPUManager creates a new mock instance.
NewNvidiaGPUManager is used to obtain NvidiaGPUManager handle.
No description provided by the author
No description provided by the author
# Constants
FilePerm is the file permissions for gpu info json file.
GPUInfoDirPath is the directory where gpus and driver info are saved.
NvidiaGPUDeviceFilePattern is the pattern of GPU device files on the instance.
NvidiaGPUInfoFilePath is the file path where gpus and driver info are saved.
# Variables
ErrNoGPUDeviceFound is thrown when it is not a ECS GPU instance.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
# Structs
MockGPUManager is a mock of GPUManager interface.
MockGPUManagerMockRecorder is the mock recorder for MockGPUManager.
NvidiaGPUManager is used as a wrapper for NVML APIs and implements GPUManager interface.
# Interfaces
GPUManager encompasses methods to get information on GPUs and their driver.