[Openmp-commits] [PATCH] D73077: [libomptarget] Implement wavefront functions for amdgcn

Johannes Doerfert via Phabricator via Openmp-commits openmp-commits at lists.llvm.org
Tue Jan 21 14:50:47 PST 2020


jdoerfert added a reviewer: arsenm.
jdoerfert added a subscriber: arsenm.
jdoerfert added a comment.
Herald added a subscriber: wdng.

The intrinsics and the computation looks a bit like black magic to me.

@arsenm Could you comment on this?



================
Comment at: openmp/libomptarget/deviceRTLs/amdgcn/src/target_impl.hip:54
+
+DEVICE int32_t __kmpc_impl_shfl_sync(__kmpc_impl_lanemask_t, int32_t var,
+                                     int32_t srcLane) {
----------------
Is the argument unused on purpose? Why do we have it?


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D73077





More information about the Openmp-commits mailing list