Generate geometry arrays and allocate to device