End-to-end data protection for compute in memory (CIM)/compute near memory (CNM)
Abstract
A near memory compute system includes multiple computation nodes, such as nodes for parallel distributed processing. The nodes include a memory device to store data and compute hardware to perform a computation on the data. Error correction code (ECC) logic performs ECC on the data prior to computation on the data by the compute hardware. The node also includes residue check logic to perform a residue check on a result of the computation.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 12 · Forward citations: 0.
Claims (21 — 3 Independent, 18 Dependent)
- Claim 1Independent Claim
An apparatus comprising: a memory of a computation node, the memory to store data; compute hardware of the computation node, to perform a computation on the data; error correction code (ECC) logic to perform ECC decoding and correction on the data prior to computation with a code that includes both ECC bits and residue check bits; and residue check logic to perform a residue check on a result of the computation with the residue check bits of the code.
- Claim 2Depends on #1
The apparatus of claim 1, wherein the memory is to store ECC bits for the data, wherein the ECC logic is to perform the ECC decoding and correction on the data with the ECC bits from the memory.
- Claim 3Depends on #1
The apparatus of claim 1, wherein the memory is to store a residue check value, wherein the residue check logic is to perform the residue check on the result of the computation with the residue check value.
- Claim 4Depends on #3
The apparatus of claim 3, wherein the residue check value comprises a modulo value of the data.
- Claim 5Depends on #1
The apparatus of claim 1, wherein the result of the computation is to be stored back in the memory.
- Claim 6Depends on #5
The apparatus of claim 5, wherein the ECC logic is to encode ECC bits to store for the result of the computation.
- Claim 7Depends on #5
The apparatus of claim 5, wherein the memory is to store the data, ECC bits, and a residue check value, where the ECC bits and residue check value represent a two-dimensional array.
- Claim 8Depends on #7
The apparatus of claim 7, wherein the memory is to store multiple rows having data bits and associated residue check values, and a row having parity bits, with a parity bit of a bit location to indicate parity for a column made up of the rows of data bits in the bit location or a column made up of the rows of bits in the bit location.
- Claim 9Depends on #1
The apparatus of claim 1, wherein the computation node comprises a node of a parallel distributed processing system having multiple parallel distributed processing nodes.
- Claim 10Depends on #9
The apparatus of claim 9, wherein the result of the computation is to be forwarded to another parallel distributed processing node.
- Claim 11Independent Claim
A computer system, comprising: a host processor; and accelerator hardware coupled to the host processor, to receive a request for parallel distributed processing, the accelerator hardware including multiple processing nodes, wherein an individual processing node includes: a memory to store data; a compute unit to perform a computation on the data; error correction code (ECC) logic to perform ECC decoding and correction on the data prior to computation with a code that includes both ECC bits and residue check bits; and residue check logic to perform a residue check on a result of the computation with the residue check bits of the code.
- Claim 12Depends on #11
The computer system of claim 11, wherein the memory is to store a residue check value, wherein the residue check logic is to perform the residue check on the result of the computation with the residue check value.
- Claim 13Depends on #11
The computer system of claim 11, wherein the ECC logic is to encode ECC bits to store for the result of the computation.
- Claim 14Depends on #11
The computer system of claim 11, wherein the memory is to store the data, ECC bits, and a residue check value as a two-dimensional array.
- Claim 15Depends on #11
The computer system of claim 11, wherein the result of the computation is to be forwarded from one node to another.
- Claim 16Depends on #11
The computer system of claim 11, including one or more of: wherein the host processor comprises a multicore processor; a display communicatively coupled to the host processor; or a network interface communicatively coupled to the host processor.
- Claim 17Independent Claim
A method for computation, comprising: storing data in a memory of a computation node; performing a computation on the data with compute hardware of the computation node; performing error correction code (ECC) decoding and correction on the data prior to performing the computation with a code that includes both ECC bits and residue check bits; and performing a residue check on a result of the computation with the residue check bits of the code.
- Claim 18Depends on #17
The method of claim 17, wherein performing the residue check comprises performing the residue check on the result of the computation with a residue check value stored in the memory.
- Claim 19Depends on #17
The method of claim 17, further comprising: receiving the result of the computation; and encoding ECC bits from the result to store in the memory for the result of the computation.
- Claim 20Depends on #17
The method of claim 17, further comprising: storing in the memory the data, ECC bits, and a residue check value as a two-dimensional array.
- Claim 21Depends on #17
The method of claim 17, wherein the computation node comprises a node of a parallel distributed processing system having multiple parallel distributed processing nodes, and further comprising: forwarding the result of the computation to another parallel distributed processing node.
Technical Overview & Description
FIELD Descriptions are generally related to data protection, and more particular descriptions are related to transaction protection for a computation in near memory. BACKGROUND Data in computer systems is subject to corruption due to transient errors. There are different protection mechanisms applied in different units to address data errors. In storage units, data is protected by ECC (error correction codes). In computation units, data can be protected by residue codes. ECC codes in storage units are typically applications of Reed Solomon codes, where syndrome-based computations can determine if an error is present in the data. Residue codes perform a residue operation to determine if an error is present in the data. ECC codes for data storage are fundamentally different in scope and computation from residue codes. Thus, moving data between storage units and computation units traditionally requires decoding and re-encoding to generate the appropriate check bits. The application of both types of data protection has limited impact when the computation units and the storage units have clearly defined boundaries. However, with compute-near-memory (CNM) or compute-in-memory (CIM) systems that have storage and computation integrated together, the application of data protection for the memory unit and for the computation unit has a negative performance impact, adding latency to a critical path, and wasting power. BRIEF DESCRIPTION OF THE DRAWINGS The following description includes discussion of figures having illustrations given by way of example of an implementation. The drawings should be understood by way of example, and not by way of limitation. As used herein, references to one or more examples are to be understood as describing a particular feature, structure, or characteristic included in at least one implementation of the invention. Phrases such as “ in one example ” or “ in an alternative example ” appearing herein provide examples of implementations of the inven
Cited By — Indexed Forward Citations (0 of 0 total)
No indexed citing patents in this generation yet. Ingest USPTO/PatentsView bulk citation tables via patents-ingest to expand the local forward citation graph.