US 12,265,741 B2
Method and apparatus with unified virtual memory management
Wonik Seo, Suwon-si (KR); Dong-Uk Ryu, Suwon-si (KR); and Sungduk Cho, Suwon-si (KR)
Assigned to Samsung Electronics Co., Ltd., Suwon-si (KR)
Filed by SAMSUNG ELECTRONICS CO., LTD., Suwon-si (KR)
Filed on Jun. 30, 2023, as Appl. No. 18/345,492.
Claims priority of application No. 10-2022-0185933 (KR), filed on Dec. 27, 2022.
Prior Publication US 2024/0211177 A1, Jun. 27, 2024
Int. Cl. G06F 3/06 (2006.01)
CPC G06F 3/0665 (2013.01) [G06F 3/0604 (2013.01); G06F 3/0673 (2013.01)] 19 Claims
OG exemplary drawing
 
9. An electronic device, comprising:
a processor configured to execute instructions; and
a memory storing the instructions, wherein execution of the instructions configures the processor to:
collect block information on model data blocks used for an execution of a deep learning model by a deep learning framework;
update memory allocation information of a unified virtual memory (UVM) based on the collected block information;
reflect the block information, wherein the collecting and the reflecting of the block information are performed by an extended unified memory (EUM) runtime and EUM driver provided separately from a UVM runtime and UVM driver of the UVM; and
perform a least recently used (LRU) eviction based on the updated memory allocation information.