[Openmp-commits] [PATCH] D66846: [libomptarget] Refactor macros from omptarget-nvptx to inline functions

Alexey Bataev via Phabricator via Openmp-commits openmp-commits at lists.llvm.org
Tue Aug 27 17:28:39 PDT 2019


ABataev added a comment.

I would suggest to split this patch into several small patches, one for syncwarp, one for activemask, etc.



================
Comment at: openmp/libomptarget/deviceRTLs/nvptx/src/target_impl.h:78
+#if !defined(__clang__) || __clang_major__ >= 9
+#define __SYNCTHREADS() __syncthreads()
+#else
----------------
This is wrong, just call __syncthreads() here. 


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D66846/new/

https://reviews.llvm.org/D66846





More information about the Openmp-commits mailing list