commit | 0a8022f5744320779e60bbb9c5fe497c9710f119 | [log] [tgz] |
---|---|---|
author | Daniel Stone <daniels@collabora.com> | Mon Aug 17 13:44:49 2020 -0700 |
committer | Copybara-Service <copybara-worker@google.com> | Sun Aug 30 16:16:40 2020 -0700 |
tree | bd18f22e2f4a19ec8d6c648990db1bd58e546638 | |
parent | 976a67a57cda79ce9716e06509931b93837baffb [diff] |
libclc: Make all built-ins overloadable The SPIR spec states that all OpenCL built-in functions should be overloadable and mangled, to ensure consistency. Add the overload attribute to functions which were missing them: work dimensions, memory barriers and fences, and events. Reviewed By: tstellar, jenatali Differential Revision: https://reviews.llvm.org/D82078 GitOrigin-RevId: 3d21fa56f5f5afbbf16b35b199480af71e1189a3