Class AssignedGpuDevice
java.lang.Object
org.apache.hadoop.yarn.server.nodemanager.containermanager.resourceplugin.gpu.GpuDevice
org.apache.hadoop.yarn.server.nodemanager.containermanager.resourceplugin.gpu.AssignedGpuDevice
- All Implemented Interfaces:
Serializable,Comparable
In addition to
GpuDevice, this include container id and more runtime
information related to who is using the GPU device if possible- See Also:
-
Field Summary
Fields inherited from class org.apache.hadoop.yarn.server.nodemanager.containermanager.resourceplugin.gpu.GpuDevice
index, minorNumber -
Constructor Summary
ConstructorsConstructorDescriptionAssignedGpuDevice(int index, int minorNumber, org.apache.hadoop.yarn.api.records.ContainerId containerId) -
Method Summary
Modifier and TypeMethodDescriptionintbooleaninthashCode()voidsetContainerId(String containerId) Methods inherited from class org.apache.hadoop.yarn.server.nodemanager.containermanager.resourceplugin.gpu.GpuDevice
getIndex, getMinorNumber, toString
-
Constructor Details
-
AssignedGpuDevice
public AssignedGpuDevice(int index, int minorNumber, org.apache.hadoop.yarn.api.records.ContainerId containerId) -
AssignedGpuDevice
public AssignedGpuDevice()
-
-
Method Details