# US 2025/0147763 A1 · Dynamic buffers and method for dynamic buffer allocation

> Agents: this data is available as JSON from the patentgrep API and MCP server — see https://patentgrep.com/llms.txt

- Number: US 2025/0147763 A1
- Document ID: US20250147763A1
- Status: Published application
- Kind: A1
- Application number: 18/836,962
- Filed: 2023-03-27
- Published: 2025-05-08
- Earliest claimed: 2022-03-29
- Applicants: aiMotive Kft.
- Inventors: Márton Fehér; Gyula Nagy
- Web page: https://patentgrep.com/patent/US20250147763A1

## CPC

- G06F 9/30149: {of variable length instructions}
- G06F 12/0895: of parts of caches, e.g. directory or tag array
- G06F 1/3275: {Power saving in memory, e.g. RAM, cache}
- G06F 9/3001: {Arithmetic instructions}
- G06F 9/5016: {the resource being the memory}
- G06F 12/0646: {Configuration or reconfiguration}
- G06F 12/0886: Variable-length word access
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

A method for dynamic buffer width allocation provides a memory with a plurality of memory slices, determines a buffer width for a set of arithmetic operations, allocates a number of memory slices of the plurality of memory slices, the number of memory slices forming a buffer having at least the determined buffer width, and performs the set of arithmetic operations using the buffer. Furthermore, a dynamic memory with a plurality of memory slices and an apparatus are described.

## Claims

### Claim 1

A method for dynamic buffer width allocation, comprising:
providing a memory with a plurality of memory slices;
determining a buffer width for a set of arithmetic operations;
allocating a number of memory slices of the plurality of memory slices, the number of memory slices forming a buffer having at least the determined buffer width; and
performing the set of arithmetic operations using the buffer.

### Claim 2 (depends on 1)

The method of claim 1, wherein the memory enables a selective activation and deactivation of at least some of the memory slices of the plurality of memory slices.

### Claim 3 (depends on 1)

The method of claim 1, further comprising deactivating unallocated memory slices of the plurality of memory slices.

### Claim 4 (depends on 1)

The method according to claim 1, wherein the buffer width is determined based on a word length of values processed by the set of arithmetic operations.

### Claim 5 (depends on 1)

The method according to claim 1, wherein the buffer width is determined based on a number of results of the set of arithmetic operations.

### Claim 6 (depends on 1)

The method according to claim 1, wherein the buffer width is determined based on statistic parameters related to input data processed by the set of arithmetic operations.

### Claim 7 (depends on 6)

The method according to claim 6, further comprising collecting the statistic parameters during processing of the set of arithmetic operations in real time.

### Claim 8 (depends on 6)

The method according to claim 6, further comprising receiving the statistic parameters related to the input data.

### Claim 9 (depends on 8)

The method according to claim 8, wherein the statistic parameters are precalculated for the input data.

### Claim 10 (depends on 1)

The method according to claim 1, further comprising monitoring at least one value to be stored in the buffer, determining that the at least one value exceeds a threshold, and dynamically allocating at least one further memory slice of the plurality of memory slices for the buffer.

### Claim 11 (depends on 1)

The method according to claim 1, wherein the set of arithmetic operations includes a plurality of multiply-accumulate operations, wherein results of the plurality of multiply-accumulate operations are accumulated in the buffer.

### Claim 12 (depends on 11)

The method according to claim 11, wherein the plurality of multiply-accumulate operations include multiplying a plurality of weights with input data, wherein the buffer width is determined based on values of the plurality of weights and an assumed maximum value for the input data.

### Claim 13 (depends on 1)

The method according to claim 1, further comprising allocating a further number of memory slices of the plurality of memory slices for a further buffer.

### Claim 14

A dynamic memory, comprising:
a plurality of memory slices, each memory slice having a slice width; and
logic configured to:
determine a buffer width for a set of arithmetic operations;
allocate a number of memory slices of the plurality of memory slices, the number of memory slices forming a buffer having at least the determined buffer width; and
perform the set of arithmetic operations using the buffer.

### Claim 15 (depends on 14)

An apparatus, comprising:
a dynamic memory according to claim 14.
