- Allow using integral non-type template parameters in the following attributes
attribute((amdgpu_flat_work_group_size(<min>, <max>))) attribute((amdgpu_waves_per_eu(<min>[, <max>])))
Details
Details
- Reviewers
kzhuravl yaxunl - Commits
- rG4e7ccb37582e: Merge [AMDGPU] Allow using integral non-type template parameters
rG7557afa00052: [AMDGPU] Allow using integral non-type template parameters
rL354909: [AMDGPU] Allow using integral non-type template parameters
rC354909: [AMDGPU] Allow using integral non-type template parameters
Diff Detail
Diff Detail
- Repository
- rC Clang
Event Timeline
Comment Actions
non-type template parameter is used in these attributes in one of major workload. In addition, it also revises the constexpr support by allowing lvalue. The diagnostic message is refined too by pointing out which parameter violates the requirement of constant integer. Previous tests are revised and more tests are added to cover the cases fixed in this change.