allocating space of gpu test