[patch, libgomp] Enable OpenACC GCN testing
Thomas Schwinge
thomas@codesourcery.com
Tue Jun 8 09:17:54 GMT 2021
Hi!
On 2019-11-14T16:36:38+0000, Andrew Stubbs <ams@codesourcery.com> wrote:
> This patch adds some necessary bits to enable OpenACC testings for
> amdgcn offloading.
> --- a/libgomp/testsuite/lib/libgomp.exp
> +++ b/libgomp/testsuite/lib/libgomp.exp
> +# Return 1 if at least one AMD GCN board is present, and the AMD GCN device
> +# type is selected by default.
> +
> +proc check_effective_target_openacc_amdgcn_accel_selected { } {
> + if { ![check_effective_target_openacc_amdgcn_accel_present] } {
> + return 0;
> + }
> + global offload_target
> + if { [string match "amdgcn*" $offload_target] } {
> + return 1;
> + }
> + return 0;
> +}
Pushed "[GCN] Streamline
'libgomp/testsuite/lib/libgomp.exp:check_effective_target_openacc_radeon_accel_selected'"
to master branch in commit f9da798ba6348feaada80de04bc72cdf0c4a1f70, see
attached.
Grüße
Thomas
-----------------
Mentor Graphics (Deutschland) GmbH, Arnulfstrasse 201, 80634 München Registergericht München HRB 106955, Geschäftsführer: Thomas Heurung, Frank Thürauf
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-GCN-Streamline-libgomp-testsuite-lib-libgomp.exp-che.patch
Type: text/x-diff
Size: 1503 bytes
Desc: not available
URL: <https://gcc.gnu.org/pipermail/gcc-patches/attachments/20210608/12fa1518/attachment-0001.bin>
More information about the Gcc-patches
mailing list