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 ...
amdgcn: Implement {read_,write_,}mem_fence builtinv2: add more detailed comment about waitcnt instructionSigned-off-by: Jan Vesely <[email protected]>Reviewed-by: Aaron Watry <awatry@gmail.
amdgcn: Implement {read_,write_,}mem_fence builtinv2: add more detailed comment about waitcnt instructionSigned-off-by: Jan Vesely <[email protected]>Reviewed-by: Aaron Watry <[email protected]>Tested-by: Aaron Watry <[email protected]>llvm-svn: 311021