Added code for prefetching without kernel launching