[Bug libgomp/109837] [OpenMP] despite 'requires unified_address' there is segfault when 'is_device_ptr' is not used

2023-06-13 Thread burnus at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109837 Tobias Burnus changed: What|Removed |Added Resolution|--- |FIXED Status|UNCONFIRMED

[Bug libgomp/109837] [OpenMP] despite 'requires unified_address' there is segfault when 'is_device_ptr' is not used

2023-06-13 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109837 --- Comment #4 from CVS Commits --- The master branch has been updated by Tobias Burnus : https://gcc.gnu.org/g:d5c58ad1ebaff924c2546df074174cffb128feb8 commit r14-1783-gd5c58ad1ebaff924c2546df074174cffb128feb8 Author: Tobias Burnus Date:

[Bug libgomp/109837] [OpenMP] despite 'requires unified_address' there is segfault when 'is_device_ptr' is not used

2023-06-06 Thread burnus at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109837 --- Comment #3 from Tobias Burnus --- (In reply to Tobias Burnus from comment #2) > (For GCN, enabling unified_address makes sense.) Now done via commit r14-1584-gf1af7d65ff64fe7102d1490ef46ea491a533e641 > TODO: It does not harm to have some

[Bug libgomp/109837] [OpenMP] despite 'requires unified_address' there is segfault when 'is_device_ptr' is not used

2023-06-06 Thread burnus at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109837 --- Comment #2 from Tobias Burnus --- Actually, I missed a crucial fine print regarding 'defaultmap(default)' implicit mapping of pointers in C/C++. GCC actually works (with firstprivate or with normal mapping) →

[Bug libgomp/109837] [OpenMP] despite 'requires unified_address' there is segfault when 'is_device_ptr' is not used

2023-05-15 Thread burnus at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109837 --- Comment #1 from Tobias Burnus --- Minor correction/clarification: (B) omp_target_is_accessible - will properly work for such pointers. While it might be useful to handle also (C/C++) code like: ptr = omp_target_alloc (...); ...