Reset ops_diags to 1 so that cuda and opencl does not do thread synchs after launching kernels