Issue |
91468
|
Summary |
clang should directly consume launch_bounds attribute for HIP
|
Labels |
backend:AMDGPU,
cuda,
clang:codegen
|
Assignees |
yxsamliu
|
Reporter |
arsenm
|
Clang has the [launch_bounds attribute](https://clang.llvm.org/docs/AttributeReference.html#launch-bounds), which is not implemented for AMDGPU. Instead, the HIP headers work around this by [implementing this with separate macros ](https://github.com/ROCm/clr/blob/933aa1d3a7bc4e4a2b4cfb2ad7e4c40df0b8ae61/hipamd/include/hip/amd_detail/amd_hip_runtime.h#L176)
The directly consumed attribute is silently ignored
_______________________________________________
llvm-bugs mailing list
llvm-bugs@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs