Information processing apparatus, information processing method, and storage medium for efficient storage of kernels of various sizes
AssigneeCanon Kabushiki Kaisha
InventorsDaisuke Nakashima, Tsewei Chen
Life of this patent
Estimating the term…
Abstract
An information processing apparatus includes a determination unit configured to determine a storage method of storing a kernel based on a configuration of a plurality of memory areas and a size of the kernel, a storage unit configured to store the kernel using the determined storage method, a reading unit configured to read the kernel from the storage unit based on the storage method of storing the kernel, and a calculation unit configured to execute calculation using input data and the read kernel.
Claims13
An information processing apparatus comprising:
- one or more processors;
- and
- one or more memories coupled to the one or more processors, the one or more memories having stored thereon instructions which, when executed by the one or more processors, cause the apparatus to:
- determine a storage method of storing a kernel based on respective data widths of a plurality of memories and a size of the kernel;
- store the kernel on the plurality of memories using the determined storage method;
- read out the kernel from the plurality of memories based on the determined storage method;
- and
- execute calculation using input data and the read out kernel,
- wherein in the determined storage method, when the size of the kernel is not a multiple of a data width of a first memory in the plurality of memories and the data width of the first memory is not a multiple of the size of the kernel, the kernel is divided into parts and the divided parts of the kernel are stored on the first memory and at least one memory other than the first memory in the plurality of memories.
An information processing method comprising:
- determining a storage method of storing a kernel based on respective data widths of a plurality of memories and a size of the kernel;
- storing the kernel on the plurality of memories using the determined storage method;
- reading out the kernel from the plurality of memories based on the determined storage method;
- and
- executing calculation using input data and the read out kernel,
- wherein in the determined storage method, when the size of the kernel is not a multiple of a data width of a first memory in the plurality of memories and the data width of the first memory is not a multiple of the size of the kernel, the kernel is divided into parts and the divided parts of the kernel are stored on the first memory and at least one memory other than the first memory in the plurality of memories.
A non-transitory computer-readable storage medium that stores a program for causing a computer to perform an information processing method comprising:
- determining a storage method of storing a kernel based on respective data widths of a plurality of memories and a size of the kernel;
- storing the kernel on the plurality of memories using the determined storage method;
- reading out the kernel from the plurality of memories based on the determined storage method;
- and
- executing calculation using input data and the read out kernel,
- wherein in the determined storage method, when the size of the kernel is not a multiple of a data width of a first memory in the plurality of memories and the data width of the first memory is not a multiple of the size of the kernel, the kernel is divided into parts and the divided parts of the kernel are stored on the first memory and at least one memory other than the first memory in the plurality of memories.
Dependencies are inferred from the claim text.