added the allocation routine to multiple vgpu