-
公开(公告)号:US20190050212A1
公开(公告)日:2019-02-14
申请号:US16076735
申请日:2016-03-11
Applicant: INTEL CORPORATION
Inventor: Hideki Saito IDO , Serge V. PREIS , Sergey S. KOZHUKHOV , Xinmin TIAN , Sergey V. MASLOV , Clark NELSON , Jianfei YU
IPC: G06F8/41
Abstract: Technologies for indirectly calling vector functions include a compute device that includes a memory device to store source code and a compiler module. The compiler module is to identify a set of declarations of vector variants for scalar functions in the source code, generate a vector variant address map for each set of vector variants, generate an offset map for each scalar function, and identify, in the source code, an indirect call to the scalar functions, wherein the indirect call is to be vectorized. The compiler module is also to determine, based on a context of the indirect call, a vector variant to be called and store, in object code and in association with the indirect call, an offset into one of the vector variant address maps based on (i) the determined vector variant to be called and (ii) the offset map that corresponds to each scalar function.