US 12,147,746 B1
Method and system for verifying operation and data precision of hardware for artificial intelligence
Junsoo Kim, Hwaseong-si (KR); and Seongmin Hong, Hwaseong-si (KR)
Assigned to HyperAccel Co., Ltd., Hwaseong-si (KR)
Filed by HyperAccel Co., Ltd., Hwaseong-si (KR)
Filed on Jun. 14, 2024, as Appl. No. 18/744,347.
Claims priority of application No. 10-2023-0077571 (KR), filed on Jun. 16, 2023.
Int. Cl. G06F 30/27 (2020.01)
CPC G06F 30/27 (2020.01) 10 Claims
OG exemplary drawing
 
1. A verification method of a computer device comprising at least one processor, the verification method comprising:
receiving, by the at least one processor, target device information, a model instruction, and a model parameter related to an artificial intelligence (AI) model;
constructing, by the at least one processor, a simulator corresponding to real hardware based on the target device information;
processing, by the at least one processor, an operation between the model instruction and the model parameter through the constructed simulator; and
storing, by the at least one processor, a processing result of the operation in a memory module included in the simulator,
wherein the at least one processor includes a central processing unit (CPU) and a graphics processing unit (GPU), and
the constructing of the simulator comprises:
determining a mode of the simulator as one of a high-precision mode and a low-latency mode;
in response to the mode of the simulator being determined as the high-precision mode, constructing a first simulator in which at least one module processing the operation in the simulator and the memory module are assigned to the CPU; and
in response to the mode of the simulator being determined as the low-latency mode, constructing a second simulator in which at least one module processing the operation is assigned to the GPU and the memory module is assigned to the CPU.