[PATCH] D28145: [OpenMP] Basic support for a parallel directive in a target region on an NVPTX device.
Artem Belevich via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Tue Jan 3 10:27:31 PST 2017
tra added inline comments.
================
Comment at: lib/CodeGen/CGOpenMPRuntimeNVPTX.cpp:511-516
+ // Activate workers.
+ syncCTAThreads(CGF);
+
+ // Barrier at end of parallel region.
+ syncCTAThreads(CGF);
+
----------------
Are two back-to-back syncCTAThreads() intentional or did you mean to call something else to activate workers?
https://reviews.llvm.org/D28145
More information about the cfe-commits
mailing list