Invention Grant
- Patent Title: Parallel runtime execution on multiple processors
-
Application No.: US18147984Application Date: 2022-12-29
-
Publication No.: US11836506B2Publication Date: 2023-12-05
- Inventor: Aaftab Munshi , Jeremy Sandmel
- Applicant: Apple Inc.
- Applicant Address: US CA Cupertino
- Assignee: APPLE INC.
- Current Assignee: APPLE INC.
- Current Assignee Address: US CA Cupertino
- Agency: Womble Bond Dickinson (US) LLP
- Main IPC: G06F9/445
- IPC: G06F9/445 ; G06F9/54 ; G06F9/50 ; G06F8/41 ; G06F9/48

Abstract:
A method and an apparatus that schedule a plurality of executables in a schedule queue for execution in one or more physical compute devices such as CPUs or GPUs concurrently are described. One or more executables are compiled online from a source having an existing executable for a type of physical compute devices different from the one or more physical compute devices. Dependency relations among elements corresponding to scheduled executables are determined to select an executable to be executed by a plurality of threads concurrently in more than one of the physical compute devices. A thread initialized for executing an executable in a GPU of the physical compute devices are initialized for execution in another CPU of the physical compute devices if the GPU is busy with graphics processing threads. Sources and existing executables for an API function are stored in an API library to execute a plurality of executables in a plurality of physical compute devices, including the existing executables and online compiled executables from the sources.
Public/Granted literature
- US20230185583A1 PARALLEL RUNTIME EXECUTION ON MULTIPLE PROCESSORS Public/Granted day:2023-06-15
Information query