We will use this for more accurate occupancy computations. Note that
IsaInfo takes WGP mode vs. CU mode into account on gfx10+.
Details
- Reviewers
arsenm rampitec foad - Commits
- rG84610a82a1aa: AMDGPU: Add AMDGPUSubtarget::getEUsPerCU()
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
llvm/lib/Target/AMDGPU/AMDGPUSubtarget.h | ||
---|---|---|
213 | Since "CU" is misleading, can you think of a better name for "unit onto which workgroups are mapped"? |
llvm/lib/Target/AMDGPU/AMDGPUSubtarget.h | ||
---|---|---|
213 | I was wondering this as well and am open to suggestions. Work Group Processor obviously doesn't work. Work Group Compute Unit (WGCU)? Work Group Unit (WGU)? Work Group Execution Unit (WGEU)? (And make the EU a Wave Execution Unit?) |
llvm/lib/Target/AMDGPU/AMDGPUSubtarget.h | ||
---|---|---|
213 | It's a shame there isn't an existing term. Your ideas sound OK to me, but none of them is so obviously great that we should immediately adopt it (IMO). |
llvm/lib/Target/AMDGPU/AMDGPUSubtarget.h | ||
---|---|---|
213 | Should include the expanded forms of these acronyms in the comments. Also /// for doxygen I think? |
Since "CU" is misleading, can you think of a better name for "unit onto which workgroups are mapped"?