Documentation
¶
Index ¶
Constants ¶
View Source
const ( GPUDeviceType = "gpu_device" RDMADeviceType = "rdma_device" // GPUResourcePluginPolicyNameStatic is the policy name of static gpu resource plugin GPUResourcePluginPolicyNameStatic = string(consts.ResourcePluginPolicyNameStatic) GPUPluginDynamicPolicyName = qrm.QRMPluginNameGPU + "_" + GPUResourcePluginPolicyNameStatic ClearResidualState = GPUPluginDynamicPolicyName + "_clear_residual_state" GPUMemPluginName = "gpu_mem_resource_plugin" StateCheckPeriod = 30 * time.Second StateCheckTolerationTimes = 3 MaxResidualTime = 5 * time.Minute )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AllocatableResource ¶
type AllocatableResource struct {
ResourceName string
*pluginapi.AllocatableTopologyAwareResource
}
type AllocatedResource ¶
type AllocatedResource struct {
ResourceName string
PodName string
PodNamespace string
*pluginapi.TopologyAwareResource
}
Click to show internal directories.
Click to hide internal directories.