Generalized MPIdot to abitrary GPUs/nodes.