NECVEPlugin, NvidiaGPUPluginForRuntimeV2public interface DevicePluginScheduler
| Modifier and Type | Method | Description |
|---|---|---|
java.util.Set<Device> |
allocateDevices(java.util.Set<Device> availableDevices,
int count,
java.util.Map<java.lang.String,java.lang.String> env) |
Called when allocating devices.
|
java.util.Set<Device> allocateDevices(java.util.Set<Device> availableDevices, int count, java.util.Map<java.lang.String,java.lang.String> env)
availableDevices - Devices allowed to be chosen from.count - Number of device to be allocated.env - Environment variables of the container.Device allocatedCopyright © 2008–2025 Apache Software Foundation. All rights reserved.