]> git.ipfire.org Git - thirdparty/gcc.git/commit
amdgcn: Tune default OpenMP/OpenACC GPU utilization
authorKwok Cheung Yeung <kcy@codesourcery.com>
Thu, 29 Aug 2019 17:16:42 +0000 (10:16 -0700)
committerAndrew Stubbs <ams@codesourcery.com>
Wed, 15 Jul 2020 20:37:49 +0000 (21:37 +0100)
commitd7cb90bc94597abd66ad83ecf7f81b182c9af747
tree1b4b4611fab4e2d686691f797f3ca1f3e54a5b6a
parent8b545dd6cd8b62d5c60eedc9387349f754695915
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>
gcc/ChangeLog.omp
libgomp/plugin/plugin-gcn.c