prepare for GPU data