Do not move the GpuSubtensor to the GPU when this do not make sence

There no infinit loop due to the condition on line 354.