public class AssignedGpuDevice extends GpuDevice
GpuDevice, this include container id and more runtime
 information related to who is using the GPU device if possibleindex, minorNumber| Constructor and Description | 
|---|
| AssignedGpuDevice(int index,
                 int minorNumber,
                 org.apache.hadoop.yarn.api.records.ContainerId containerId) | 
| Modifier and Type | Method and Description | 
|---|---|
| int | compareTo(Object obj) | 
| boolean | equals(Object obj) | 
| String | getContainerId() | 
| int | hashCode() | 
| void | setContainerId(String containerId) | 
getIndex, getMinorNumber, toStringpublic AssignedGpuDevice(int index,
                         int minorNumber,
                         org.apache.hadoop.yarn.api.records.ContainerId containerId)
Copyright © 2008–2023 Apache Software Foundation. All rights reserved.