This will require some research, but figure out how to implement fused `mapreduce` operations. Relevant GPUArrays.jl code is [here](https://github.com/JuliaGPU/GPUArrays.jl/blob/522b50fea62118a4aeed5e168380197b42ffb4fc/src/host/mapreduce.jl#L5).
This will require some research, but figure out how to implement fused
mapreduceoperations.Relevant GPUArrays.jl code is here.