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
2 lines
57 B
C
2 lines
57 B
C
_CLC_DECL _CLC_OVERLOAD size_t get_num_groups(uint dim);
|