diff options
author | Julian Brown <julian@codesourcery.com> | 2020-06-26 09:07:58 -0700 |
---|---|---|
committer | Julian Brown <julian@codesourcery.com> | 2020-09-08 13:26:42 -0700 |
commit | 3aee3aaf48be2d3d81e381690ae9dd305d8b505f (patch) | |
tree | 64b508de14dca98f617aba45634484996b26b7cd /gcc/genoutput.c | |
parent | d6d9be7c6be1b88f844a49d51302d34efd919a23 (diff) | |
download | gcc-3aee3aaf48be2d3d81e381690ae9dd305d8b505f.zip gcc-3aee3aaf48be2d3d81e381690ae9dd305d8b505f.tar.gz gcc-3aee3aaf48be2d3d81e381690ae9dd305d8b505f.tar.bz2 |
openacc: Fix mkoffload SGPR/VGPR count parsing for HSACO v3
If an offload kernel uses a large number of VGPRs, AMD GCN hardware may
need to limit the number of threads/workers launched for that kernel.
The number of SGPRs/VGPRs in use is detected by mkoffload and recorded in
the processed output. The patterns emitted detailing SGPR/VGPR occupancy
changed between HSACO v2 and v3 though, so this patch updates parsing
to account for that.
2020-09-08 Julian Brown <julian@codesourcery.com>
gcc/
* config/gcn/mkoffload.c (process_asm): Initialise regcount. Update
scanning for SGPR/VGPR usage for HSACO v3.
Diffstat (limited to 'gcc/genoutput.c')
0 files changed, 0 insertions, 0 deletions