Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewFragmentMode ¶
func NewFragmentMode(t *nvidia.NvidiaTree) *fragmentMode
NewFragmentMode returns a new fragmentMode struct.
Evaluate() of fragmentMode returns nodes with minimum available cores which fullfil the request.
Fragment mode means to allocate cores on fragmented nodes first, which helps link mode work better.
func NewLinkMode ¶
func NewLinkMode(t *nvidia.NvidiaTree) *linkMode
NewLinkMode returns a new linkMode struct.
Evaluate() of linkMode returns nodes with minimum connection overhead of each other.
func NewShareMode ¶
func NewShareMode(t *nvidia.NvidiaTree) *shareMode
NewShareMode returns a new shareMode struct.
Evaluate() of shareMode returns one node with minimum available cores which fullfil the request.
Share mode means multiple application may share one GPU node which uses GPU more efficiently.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.