US 12,229,587 B2
Command processor, neural core SOC and method for obtaining context data using the same
Hongyun Kim, Seongnam-si (KR); Chang-Hyo Yu, Seongnam-si (KR); and Yoonho Boo, Seongnam-si (KR)
Assigned to REBELLIONS INC., Seongnam-si (KR)
Filed by REBELLIONS INC., Seongnam-si (KR)
Filed on Mar. 29, 2024, as Appl. No. 18/621,936.
Claims priority of application No. 10-2023-0042238 (KR), filed on Mar. 30, 2023.
Prior Publication US 2024/0330041 A1, Oct. 3, 2024
Int. Cl. G06F 9/48 (2006.01); G06F 9/54 (2006.01); G06F 12/0831 (2016.01)
CPC G06F 9/4856 (2013.01) [G06F 9/544 (2013.01); G06F 12/0835 (2013.01)] 20 Claims
OG exemplary drawing
 
1. An apparatus comprising:
one or more neural processors configured to perform neural network model tasks;
a command processor configured to distribute neural network model tasks to the one or more neural processors; and
a shared memory shared by the one or more neural processors,
wherein the command processor is configured to cause:
directly accessing a memory in a host system to read an object database for a neural network model and store the object database in the shared memory, wherein the object database includes one or more objects indicated by indices;
determining whether a command descriptor describing a current command is in a first format or in a second format, wherein the first format includes a source memory address pointing to a memory area in the shared memory having a binary code to be accessed according to direct memory access (DMA) scheme, and the second format includes one or more object indices, a respective one of the one or more object indices indicating an object in the object database;
in response to a determination that the command descriptor describing the current command is in the second format, converting a format of the command descriptor from the second format to the first format;
generating one or more task descriptors describing neural network model tasks based on the command descriptor in the first format; and
distributing the one or more task descriptors to the one or more neural processors,
wherein, if a respective one of the one or more neural processors receives a task descriptor, the respective one neural processor directly accesses the shared memory based on the received task descriptor to load a binary code and executes the loaded binary code.