[Openmp-commits] [openmp] [OpenMP][OMPT] Indicate loop schedule for worksharing-loop events (PR #97429)

Hansang Bae via Openmp-commits openmp-commits at lists.llvm.org
Tue Jul 2 13:40:50 PDT 2024


================
@@ -130,6 +130,28 @@ inline const char *ompt_get_runtime_version() {
   return &__kmp_version_lib_ver[KMP_VERSION_MAGIC_LEN];
 }
 
+inline ompt_work_t ompt_get_work_schedule(enum sched_type schedule){
+  printf("Schedule val: %i\n", schedule);
----------------
hansangbae wrote:

Can you remove the `printf` statement if it is not intended?

https://github.com/llvm/llvm-project/pull/97429


More information about the Openmp-commits mailing list