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-amdhsa: Convert get_{global,local}_size to clc for all llvm versionsSigned-off-by: Jan Vesely <[email protected]>Acked-By: Aaron Watry <[email protected]>llvm-svn: 346083
amdgcn: Use __constant AS for amdgcn builtins.Fixes build after clang r338707.Reviewer: [email protected]Signed-off-by: Jan Vesely <[email protected]>llvm-svn: 338898
amdgcn: Fix build after GDS/const AS swap in r325030Acked-by: Aaron Watry <[email protected]>Signed-off-by: Jan Vesely <[email protected]>llvm-svn: 325866
amdgcn: Fix datalayout after clang r324101r324101 switched around AS numberingAcked-by: Aaron Watry <[email protected]>Signed-off-by: Jan Vesely <[email protected]>llvm-svn: 325863
Fix amdgcn-amdhsa on llvm-3.9Signed-off-by: Jan Vesely <[email protected]>Acked-by: Aaron Watry <[email protected]>llvm-svn: 314548
Restore support for llvm-3.9Signed-off-by: Jan Vesely <[email protected]>Acked-by: Aaron Watry <[email protected]>llvm-svn: 314543
amdgcn-amdhsa: Add get_num_groups implementationllvm-svn: 281792
amdgcn-amdhsa: Add get_global_size() implementationllvm-svn: 281791
amdgcn: Also correct get_local_size type for HSAllvm-svn: 279656
[AMDGPU] Implement get_local_size for amdgcn--amdhsa tripleDifferential Revision: http://reviews.llvm.org/D18284llvm-svn: 265713