[Openmp-commits] [PATCH] D52436: [OpenMP][libomptarget] Add runtime functions for default schedule for distribute

Jonas Hahnfeld via Phabricator via Openmp-commits openmp-commits at lists.llvm.org
Wed Sep 26 02:43:48 PDT 2018

Hahnfeld added a comment.

Do we really need new entry points for this? I think we could avoid code duplication by letting the compiler generated code pass the correct chunk to `__kmpc_for_static_init_??`. This could either come from a (single) new query function (`__kmpc_nvptx_distribute_default_chunk`?) or can be hard coded to `threadsPerBlock` because this is only relevant for SPMD.

  rOMP OpenMP


More information about the Openmp-commits mailing list