Bitonic Sort of the SDK : where can I found some explanations ?

Hello !!

I’m trying to understand the bitonic sort of the SDK, but I’m stucked at the beginning (the main function) : I don’t understand the “N = 1048576” (why 1 mo ?) and the “array per batch” thing (why is there batches of arrays ? are we sorting one array several times (I can’t see the purpose of this) or the same array but split in several pieces).

I’ve searched on the net for explanations, but there is not. Is someone able to help me please ?

Thank you !!

Best regards