A reduction finds the maximum. Finding where it is takes a second search or a custom kernel.
Nol zips a counting iterator with the input, so one reduction returns value and index.
https://streamhpc.com/blog/2026-05-13/thinking-with-iterators-in-cuda-and-hip/
