libclc: Make all built-ins overloadableThe SPIR spec states that all OpenCL built-in functions should beoverloadable and mangled, to ensure consistency.Add the overload attribute to functions wh
libclc: Make all built-ins overloadableThe SPIR spec states that all OpenCL built-in functions should beoverloadable 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, jenataliDifferential Revision: https://reviews.llvm.org/D82078
show more ...
PTX: move implementations of work-item and synchronisation functionsto lib, and add header files in generic. Incorporates a patch byTom Stellard!llvm-svn: 161313
Initial commit.llvm-svn: 147756