[Bug c++/80859] Performance Problems with OpenMP 4.5 support
thorstenkurth at me dot com
gcc-bugzilla@gcc.gnu.org
Fri May 26 16:37:00 GMT 2017
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80859
--- Comment #26 from Thorsten Kurth <thorstenkurth at me dot com> ---
Hello Jakub,
thanks for the clarification. So a team maps to a CTA which is somewhat
equivalent to a block in CUDA language, correct? And it is good to have some
categorical equivalency between GPU and CPU code (SIMD units <> WARPS) instead
of mapping SIMT threads to OpenMP threads, that makes it easier for making it
portable.
About my mapping "problem" is there an elegant way for doing this or does only
brute force work, i.e. by writing additional member functions returning
pointers etc.?
In general, the OpenMP mapping business is very verbose (not your fault, I
know), it makes the code very annoying to read.
Best
Thorsten
More information about the Gcc-bugs
mailing list