Added overlapped CL and main thread operation