Class GpuDevice
java.lang.Object
org.apache.hadoop.yarn.server.nodemanager.containermanager.resourceplugin.gpu.GpuDevice
- All Implemented Interfaces:
Serializable,Comparable
- Direct Known Subclasses:
AssignedGpuDevice
This class is used to represent GPU device while allocation.
- See Also:
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
index
protected int index -
minorNumber
protected int minorNumber
-
-
Constructor Details
-
GpuDevice
public GpuDevice(int index, int minorNumber) -
GpuDevice
public GpuDevice()
-
-
Method Details