Anchored-Data Element Encoding for Associative Number Accumulation
Find Innovative SolutionsGenerate Solutions
Solution Overview
Problem
Floating-point arithmetic is non-associative, leading to reproducibility issues in sums, making parallelization difficult and slow, especially in high-performance computing where millions of values need to be added, as the order of operations affects the result.
Innovation Solution
The introduction of high-precision anchored (HPA) numbers, which consist of a long two's complement integer and an anchor integer, allowing for associative and reproducible additions by maintaining the anchor value unchanged during operations, enabling parallel processing without the need for rounding or normalization.
Engineering Contradictions & Design Principles
Engineering Contradiction Analysis
1Adaptability or versatility
If floating-point arithmetic is used, then a large range of numeric values can be represented, but calculations become non-associative leading to reproducibility issues
Solution Approach 1:
The patent changes the parameter representation from floating-point (significand and exponent) to high-precision anchored format (long integer i and anchor integer a). This parameter transformation enables associative arithmetic operations while maintaining the ability to represent a large range of values, thus resolving the contradiction between versatility and reliability.
Solution Approach 2:
The patent introduces an intermediary conversion process that transforms floating-point values into HPA form before performing arithmetic operations. This intermediary representation acts as a mediator that preserves the large range capability of floating-point while enabling associative operations, thereby resolving the reproducibility issue.
2Reliability
If floating-point addition is performed sequentially to maintain reproducibility, then calculation accuracy is preserved, but processing speed decreases
Solution Approach 1:
By changing the arithmetic parameter representation to HPA format, the patent enables parallel and vectorized operations while maintaining reproducibility. The anchored representation allows multiple values to be processed simultaneously without sacrificing calculation reliability, thus resolving the speed-reproducibility tradeoff.
Solution Approach 2:
The patent segments the arithmetic operations into independent parallel tasks that can be executed simultaneously. The HPA format allows division of the computation into separate addition operations that don't depend on each other's intermediate results, enabling parallel processing while maintaining reproducibility through the associative property.
3Reliability
If high-precision anchored numbers are used, then associative and reproducible additions are enabled, but device complexity increases
Solution Approach 1:
The patent uses copying by representing high-precision values in a format that can be replicated and processed using standard integer arithmetic units. The HPA format allows copying of the anchored representation across multiple processing elements, enabling parallel processing without requiring complex custom hardware for each operation.
Solution Approach 2:
The patent substitutes complex floating-point arithmetic mechanisms with simpler integer arithmetic operations. By representing floating-point values in HPA format, the system replaces complex FP addition logic with straightforward integer addition, reducing hardware complexity while maintaining reliability and associativity.
4Productivity
If floating-point values are converted to HPA form, then parallel processing becomes possible, but conversion overhead is introduced
Solution Approach 1:
The patent applies preliminary action by performing the floating-point to HPA conversion once at the beginning of the computation pipeline. This upfront conversion enables all subsequent arithmetic operations to be performed in parallel using the efficient HPA format, amortizing the conversion cost across many parallel operations and achieving net productivity gain.
Data Source
AI summary
An apparatus comprises: processing circuitry to perform data processing; and an instruction decoder to control the processing circuitry to perform an anchored-data processing operation to generate an anchored-data element. The anchored-data element has an encoding including type information indicative of whether the anchored-data element represents: a portion of bits of a two's complement number, said portion of bits corresponding to a given range of significance representable using the anchored-data element; or a special value other than said portion of bits of a two's complement number.


