prepare input array concurrently with output array and kernel preparation
typo