|
// Such a solution is necessary in the general case because of the |
The Allocate method's comment describes: "it looks for a solution that maximizes the total score when dividing up all available GPUs on the node into sets of size 'size' and then summing their individual scores."
It further explains: "Such a solution is necessary in the general case because of the non-hierarchical nature of the various links that influence the score calculated for each pair of GPUs."
However, I still don't understand why this is necessary. Can someone provide a detailed explanation or give an example to illustrate why failing to do so would result in a suboptimal outcome?