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 ...
Let get_work_dim take exactly 0 argumentsReviewed-by: Jan Vesely <[email protected]>llvm-svn: 314634
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
r600: Use llvm intrinsic to read work dimension informationv2: Fix function declaration Add range metadata to r600 implementationv3: change prefix to AMDGPUReviewed-by: Tom Stellard <tom@ste
r600: Use llvm intrinsic to read work dimension informationv2: Fix function declaration Add range metadata to r600 implementationv3: change prefix to AMDGPUReviewed-by: Tom Stellard <[email protected]>Signed-off-by: Jan Vesely <[email protected]>llvm-svn: 219793
PTX: move implementations of work-item and synchronisation functionsto lib, and add header files in generic. Incorporates a patch byTom Stellard!llvm-svn: 184979
Move R600 headers into generic directoryllvm-svn: 184978
PTX: move implementations of work-item and synchronisation functionsto lib, and add header files in generic. Incorporates a patch byTom Stellard!llvm-svn: 161313