-
1.
公开(公告)号:US11709670B2
公开(公告)日:2023-07-25
申请号:US16848681
申请日:2020-04-14
Applicant: Advanced Micro Devices, Inc.
Inventor: Srinivasan Subramanian , Pruthvi K. Madugundu , Freddy Paul , Jagadish Krishnamoorthy , Diwakar Das , Praveen K. Jain
CPC classification number: G06F8/71 , G06F9/445 , G06F16/148 , G06F16/176
Abstract: An electronic device includes a processor and a storage device having a file system with a plurality of directories. The processor executes an application that has a dependency on a shared library, the shared library having a dependency on a runtime component. When executing the application, the processor loads the shared library, the loading including executing a constructor for the shared library. Executing the constructor causes the processor to identify a selected directory where a compatible version of the runtime component is to be found based on a location of the shared library in the file system, the location of the shared library being determined from an application context from the application. When subsequently loading the runtime component for execution, the processor locates the runtime component in the selected directory.
-
2.
公开(公告)号:US20210318862A1
公开(公告)日:2021-10-14
申请号:US16848681
申请日:2020-04-14
Applicant: Advanced Micro Devices, Inc.
Inventor: Srinivasan Subramanian , Pruthvi K. Madugundu , Freddy Paul , Jagadish Krishnamoorthy , Diwakar Das , Praveen K. Jain
IPC: G06F8/71 , G06F9/445 , G06F16/176 , G06F16/14
Abstract: An electronic device includes a processor and a storage device having a file system with a plurality of directories. The processor executes an application that has a dependency on a shared library, the shared library having a dependency on a runtime component. When executing the application, the processor loads the shared library, the loading including executing a constructor for the shared library. Executing the constructor causes the processor to identify a selected directory where a compatible version of the runtime component is to be found based on a location of the shared library in the file system, the location of the shared library being determined from an application context from the application. When subsequently loading the runtime component for execution, the processor locates the runtime component in the selected directory.
-