[committed, OG10] amdgcn: Tune default OpenMP/OpenACC GPU utilization

Andrew Stubbs ams@codesourcery.com
Wed Jul 15 20:49:11 GMT 2020


This patch tunes the default GPU thread count for OpenMP and OpenACC on 
AMD GCN devices. It chooses a sensible default if no attributes are 
given at all, increases the number of OpenACC gangs if only one worker 
per gang is specified, and increases the number of workers otherwise. 
The tuning is still a work in progress as we fix issues that limit 
occupancy.

The patch is not suitable for mainline until the multiple-worker support 
is merged there, so for now this will exist on devel/omp/gcc-10 only.

Andrew
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 200715-tune-gpu-utilization.patch
Type: text/x-patch
Size: 5360 bytes
Desc: not available
URL: <https://gcc.gnu.org/pipermail/gcc-patches/attachments/20200715/8a220d74/attachment.bin>


More information about the Gcc-patches mailing list