https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109837
Tobias Burnus changed:
What|Removed |Added
Resolution|--- |FIXED
Status|UNCONFIRMED
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:
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
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)
→
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 (...);
...