Reduction works with CUDA backend