Fix segfault when using partial allocations on a cluster with coprocessors