Radix Sort Offset Calculation for Early Pass Termination

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Current techniques do not effectively address inefficiencies in radix sort operations, leading to wasteful compute power and data movement.

Innovation Solution

Implement a method that computes histograms by counting radix digits, determines global offsets, and checks for uniformity to skip unnecessary local offset calculations, optimizing the radix sort process.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Reliability

If traditional radix sort is implemented with multiple passes and local offset calculations, then sorting completeness is ensured, but computational overhead and power consumption increase

Engineering Contradiction:
Improvesorting completenessVSAvoidpower consumption
Core Design Contradiction:
ReliabilityVSUse of energy by moving object

Solution Approach 1:

The patent performs a preliminary global offset calculation that determines whether all radix digits are uniform before committing to full sorting passes. This preliminary action allows the system to skip unnecessary computational passes when uniformity is detected, reducing power consumption while maintaining sorting correctness when needed

Inventive Principle:
Principle #10Preliminary action

Solution Approach 2:

The patent implements a feedback mechanism where the result of the global offset calculation (uniformity detection) feeds back into the control logic to决定是否 proceed with additional sorting passes. This feedback loop enables dynamic adjustment of computational effort based on actual data characteristics

Inventive Principle:
Principle #23Feedback

2Manufacturing precision

If traditional radix sort performs all sorting passes regardless of data uniformity, then sorting accuracy is maintained, but processing time increases

Engineering Contradiction:
Improvesorting accuracyVSAvoidprocessing time
Core Design Contradiction:
Manufacturing precisionVSLoss of time

Solution Approach 1:

The patent executes a preliminary global offset calculation before the main sorting passes to detect data uniformity. This preliminary check enables early termination of unnecessary passes, reducing processing time while preserving sorting accuracy through the conditional execution logic

Inventive Principle:
Principle #10Preliminary action

Solution Approach 2:

The patent introduces dynamic control into the radix sort algorithm by making the execution of sorting passes conditional on the uniformity detection result. The algorithm adapts its behavior based on data characteristics, executing only the necessary number of passes rather than following a fixed multi-pass structure

Inventive Principle:
Principle #15Dynamics

3Reliability

If radix sort performs unnecessary local offset calculations, then sorting correctness is maintained, but data movement overhead increases

Engineering Contradiction:
Improvesorting correctnessVSAvoiddata movement overhead
Core Design Contradiction:
ReliabilityVSLoss of substance

Solution Approach 1:

The patent extracts the uniformity detection function as a separate preliminary step that operates independently from the main sorting passes. By separating this detection mechanism, the system can identify and eliminate unnecessary data movement operations without affecting the correctness of required sorting operations

Inventive Principle:
Principle #2Taking out (Extraction)

4Productivity

If upfront global offset calculation is performed, then computational efficiency improves, but initial calculation overhead is added

Engineering Contradiction:
Improvecomputational efficiencyVSAvoidinitial calculation overhead
Core Design Contradiction:
ProductivityVSLoss of time

Solution Approach 1:

The patent performs a partial calculation (global offset calculation) that provides sufficient information to make a decision about whether full sorting is necessary. This partial action is less costly than complete sorting and enables early termination when applicable, improving overall efficiency despite the initial overhead

Inventive Principle:
Principle #16Partial or excessive action

Data Source

PatentUS20260030710A1Radix sort optimization based on upfront offset calculations
Publication Date: 2026.01.29 QUALCOMM INC
  • US20260030710A1 patent drawing
  • US20260030710A1 patent drawing
  • US20260030710A1 patent drawing

AI summary

This disclosure provides systems, devices, apparatus, and methods, including computer programs encoded on storage media, for radix sort optimization based on upfront offset calculations. A graphics processor may compute a plurality of histograms by counting radix digits of a set of data. The graphics processor may determine a plurality of global offsets over the computed plurality of histograms. The graphics processor may determine a plurality of local offsets based on the plurality of global offsets or refrain from determining the plurality of local offsets based on the plurality of global offsets. The graphics processor may sort the set of data based on the plurality of global offsets and the plurality of local offsets. The graphics processor may output an indicator of the sorted set of data.