[Bug libgomp/93515] New: OpenMP target teams distribute parallel for with defaultmap not mapping correctly
jhdavis at udel dot edu
gcc-bugzilla@gcc.gnu.org
Thu Jan 30 20:12:00 GMT 2020
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93515
Bug ID: 93515
Summary: OpenMP target teams distribute parallel for with
defaultmap not mapping correctly
Product: gcc
Version: 9.2.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: libgomp
Assignee: unassigned at gcc dot gnu.org
Reporter: jhdavis at udel dot edu
CC: jakub at gcc dot gnu.org
Target Milestone: ---
Created attachment 47745
--> https://gcc.gnu.org/bugzilla/attachment.cgi?id=47745&action=edit
Target teams distribute parallel for defaultmap reproducible
Hello,
This is a bug found by the SOLLVE team.
--- SUMMARY ---
When using defaultmap(tofrom:scalar) on a target teams distribute parallel for
construct, we are seeing a failure to map back changes to scalars made on the
device. See the attached reproducible. The test in out suite is availible here:
https://github.com/SOLLVE/sollve_vv/blob/new_test/test_target_teams_distribute_defaultmap.F90/tests/4.5/target_teams_distribute_parallel_for/test_target_teams_distribute_parallel_for_defaultmap.c
--- DETAILS ---
gfortran version: 9.2.0
System: x86_64-pc-linux-gnu
Config options:
../gcc9.2/configure --enable-offload-targets=nvptx-none
--with-cuda-driver-include=/software/apps/cuda/9.2//include
--with-cuda-driver-lib=/software/apps/cuda/9.2//lib64 --disable-bootstrap
--disable-multilib --enable-languages=c,c++,fortran,lto
--prefix=/software/apps/gcc/9.2
No compiler output. Runtime output:
Test returned 6 errors.
Command line to trigger bug:
gcc -O3 -std=c99 -fopenmp -foffload="-lm" -lm ttdpf_defaultmap.c -o
ttdpf_defaultmap.c.o
./ttdpf_defaultmap.c.o
Best,
Josh Davis
More information about the Gcc-bugs
mailing list