# US 2021/0286789 A1 · Area allocation device, area allocation method, and non-volatile recording medium

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

- Number: US 2021/0286789 A1
- Document ID: US20210286789A1
- Status: Published application
- Kind: A1
- Application number: 16/338,741
- Filed: 2017-10-10
- Published: 2021-09-16
- Earliest claimed: 2016-10-11
- Assignees: NEC Corporation
- Applicants: NEC Corporation
- Inventors: Takuya ARAKI
- Web page: https://patentgrep.com/patent/US20210286789A1

## CPC

- G06F 16/2237: {Vectors, bitmaps or matrices}
- G06F 12/0207: {with multidimensional access, e.g. row/column, matrix}
- G06F 16/2264: {Multidimensional index structures}
- G06F 17/16: Matrix or vector computation {, e.g. matrix-matrix or matrix-vector multiplication, matrix factorization (matrix transposition G06F7/78)}
- G06N 20/00: Machine learning
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)
- G06N: COMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS

## Abstract

Provided are an area allocation device and the like that can efficiently allocate memory volume for processing of matrix operations. The area allocation device specifies array identifiers representing positions of elements storing a value different from a predetermined value in each array of subarray information in array information, arrays consisting of a plurality of element, the array information including a plurality of information representing the arrays, the subarray information corresponding to at least a part of the arrays; calculates a number of the specified array identifiers; and allocates a memory area having a memory volume depending the calculated number.

## Claims

### Claim 1

An area allocation device comprising:
an array specifier configured to specify array identifiers representing positions of elements storing a value different from a predetermined value in each array of subarray information in array information, arrays consisting of a plurality of element, the array information including a plurality of information representing the arrays, the subarray information corresponding to at least a part of the arrays; and
an area allocator configured to calculate a number of the array identifiers specified by the array specifier and allocate a memory area having a memory volume depending the calculated number.

### Claim 2 (depends on 1)

The area allocation device according to claim 1, further comprising:
an allocator configured to allocate a processing device that executes processing for the subarray information to the subarray information.

### Claim 3 (depends on 2)

The area allocation device according to claim 2, further comprising:
a matrix convertor configured to generate compressed array information having elements of arrays identified by the array identifiers specified by the array specifier in the subarray information.

### Claim 4 (depends on 3)

The area allocation device according to claim 3, wherein
the matrix converter generates conversion information associating an array identifier representing first positions of elements storing the different value in the array information with an array identifier representing second positions of elements storing values stored in the elements at the first positions in the compressed array information when the second arrays are the target arrays.

### Claim 5 (depends on 1)

The area allocation device according to claim 1, wherein
the array specifier specifies the array identifiers for batch information including a part of arrays in the subarray information, and
the area allocator calculates the number for the batch information and allocates memory area with the memory volume depending on the calculated number.

### Claim 6 (depends on 2)

The area allocation device according to claim 2 wherein
the allocator allocates gathering processing for calculation values in the subarray information to a certain processing device.

### Claim 7 (depends on 4)

The area allocation device according to claim 4, further comprising:
a determiner configured to calculate, based on the conversion information, second number of positions of elements storing the different values in the compressed array information and determine communication order in gathering processing for calculation values in the subarray information, the communication order being an order of the calculated second numbers, the communication being transmitting from the processing device that executes processing for the compressed array information with small second number to the processing device that executes processing for compressed array information with large second number.

### Claim 8 (depends on 4)

The area allocation device according to claim 4, further comprising:
a determiner configured to calculate third number of the array identifiers representing positions of elements storing the different value in the arrays included in the array information, classify the arrays into a plurality of groups, and determine a processing device that gathers calculation values in the subarray information for each of the groups, the groups having an equivalent or substantially equivalent sum of the calculated third number.

### Claim 9

An area allocation method, by an information processing device, comprising:
specifying array identifiers representing positions of elements storing a value different from a predetermined value in each array of subarray information in array information, arrays consisting of a plurality of element, the array information including a plurality of information representing the arrays, the subarray information corresponding to at least a part of the arrays;
calculating a number of the specified array identifiers and allocating a memory area having a memory volume depending the calculated number.

### Claim 10

A non-transitory recording medium storing an area allocation program making a computer achieve:
an array specification function configured to specify array identifiers representing positions of elements storing a value different from a predetermined value in each array of subarray information in array information, arrays consisting of a plurality of element, the array information including a plurality of information representing the arrays, the subarray information corresponding to at least a part of the arrays; and
an area allocation function configured to calculate a number of the specified array identifiers and allocate a memory area having a memory volume depending the calculated number.
