For the complete documentation index, see llms.txt. Markdown versions of all pages are available by appending .md to any URL (e.g. /max/get-started.md).
Mojo function
run_radix_sort_pairs_gpu
def run_radix_sort_pairs_gpu[dtype: DType, out_idx_type: DType, ascending: Bool = False, BLOCK_SIZE: Int = Int(256), NUM_BITS_PER_PASS: Int = Int(4)](ctx: DeviceContext, mut keys: DoubleBuffer[dtype], mut key_ids: DoubleBuffer[out_idx_type], skip_sort: UnsafePointer[Scalar[DType.bool]], in_shape: IndexList[element_type=in_shape.element_type])
Was this page helpful?
Thank you! We'll create more content like this.
Thank you for helping us improve!