Fixed merge function issue where in there was no wait in the merge_enqueue after the launch of the kernel.