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 ...
AMDGPU: Implement get_global_offset builtinAlso fix get_global_id to consider offsetNo idea how to add this for ptx, so they are stuck with the old get_global_idimplementation.v2: split to a se
AMDGPU: Implement get_global_offset builtinAlso fix get_global_id to consider offsetNo idea how to add this for ptx, so they are stuck with the old get_global_idimplementation.v2: split to a separate patchv3: Switch R600 to use implictarg.ptrSigned-off-by: Jan Vesely <[email protected]>llvm-svn: 276443
PTX: move implementations of work-item and synchronisation functionsto lib, and add header files in generic. Incorporates a patch byTom Stellard!llvm-svn: 161313