Invention Grant
- Patent Title: Runtime GPU/CPU selection
-
Application No.: US15851395Application Date: 2017-12-21
-
Publication No.: US10540194B2Publication Date: 2020-01-21
- Inventor: Gita Koblents , Alon Shalev Housfater , Kazuaki Ishizaki , Akihiro Hayashi
- Applicant: International Business Machines Corporation
- Applicant Address: US NY Armonk
- Assignee: International Business Machines Corporation
- Current Assignee: International Business Machines Corporation
- Current Assignee Address: US NY Armonk
- Agency: Heslin Rothenberg Farley & Mesiti P.C.
- Agent William Hartwell, Esq.
- Main IPC: G06F9/45
- IPC: G06F9/45 ; G06F9/455 ; G06F8/41

Abstract:
A method, computer program product, and system includes a processor(s) obtaining, during runtime, from a compiler, two versions of a data parallel loop for an operation. The host computing system comprises includes a CPU and a GPU is accessible to the host. The processor(s) online profiles the two versions by asynchronously executing the first version, in a profile mode, with the GPU and executing the second version, in the profile mode, with the CPU. The processor(s) generates execution times for the first version and the second version. The processor(s) stores the executions times and performance data in a storage, where the performance data comprises a size of the data parallel loop for the operation. The processor(s) update a regression model(s) to predict performance numbers for a process of an unknown loop size. The processor(s) execute the operation with the CPU or the GPU based on the performance data.
Public/Granted literature
- US20190196853A1 RUNTIME GPU/CPU SELECTION Public/Granted day:2019-06-27
Information query