Hello CUDA community,
I’m working on a project that requires finding the maximum value in 2D grids with potentially hundreds of thousands or millions of elements. I’m trying to determine the most time-efficient approach for this reduction operation.
I’m considering three options:
- Binary tree reduction with custom implementation
- Custom reduction with another algorithm
- Using an acceleration library like Thrust
Has anyone benchmarked these different approaches for large-scale maximum value reductions? I’d appreciate insights on which method typically performs best for grids in the 100,000+ element range, particularly for maximum value reduction.
Thanks for your help!