I have two kernels in my program. kernel1 uses cooperative groups and is supposed to be launched with cudaLaunchCooperativeKernel. kernel2
kernel1
cudaLaunchCooperativeKernel
kernel2