amdgcn: Tune default OpenMP/OpenACC GPU utilization
authorKwok Cheung Yeung <kcy@codesourcery.com>
Thu, 29 Aug 2019 17:16:42 +0000 (10:16 -0700)
committerThomas Schwinge <thomas@codesourcery.com>
Sun, 16 Jan 2022 16:25:36 +0000 (17:25 +0100)
commita78b1ab1df9ca44acc5638e8f9d0ae2e62bd65ed
tree6274158d73c22dcb8afdc8161ee9df4051517b7e
parent9d7e19255c06e05ad791e9bf5aefc4783a12c4f9
amdgcn: Tune default OpenMP/OpenACC GPU utilization

libgomp/
* plugin/plugin-gcn.c (parse_target_attributes): Automatically set
the number of teams and threads if necessary.
(gcn_exec): Automatically set the number of gangs and workers if
necessary.

Co-Authored-By: Andrew Stubbs <ams@codesourcery.com>
libgomp/plugin/plugin-gcn.c