<div dir="ltr"><div>Here's the error messages thrown by Clan trunk as of today:</div><div><br></div>[kitayama1@juron1-adm ~]$ clang -fopenmp -fopenmp-targets=nvptx64 ~/openmp_has_ompt.c<br>/p/home/jusers/kitayama1/juron/openmp_has_ompt.c:24:62: warning: incompatible function pointer types initializing 'ompt_initialize_t' (aka 'int (*)(void (*(*)(const char *))(void), int, union ompt_data_t *)') with an expression of type 'int (*)(ompt_function_lookup_t, ompt_data_t *)' (aka 'int (*)(void (*(*)(const char *))(void), union ompt_data_t *)') [-Wincompatible-function-pointer-types]<br>  static ompt_start_tool_result_t ompt_start_tool_result = { &ompt_initialize,<br>                                                             ^~~~~~~~~~~~~~~~<br>/p/home/jusers/kitayama1/juron/openmp_has_ompt.c:27:10: error: returning 'ompt_start_tool_result_t' (aka 'struct ompt_start_tool_result_t') from a function with incompatible result type 'ompt_start_tool_result_t *' (aka 'struct ompt_start_tool_result_t *'); take the address with &<br>  return ompt_start_tool_result;<br>         ^~~~~~~~~~~~~~~~~~~~~~<br>         &<br>1 warning and 1 error generated.<br></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Sun, Aug 4, 2019 at 1:01 PM Itaru Kitayama <<a href="mailto:itaru.kitayama@gmail.com">itaru.kitayama@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr">Hi,<div>According to Clang 10 documents, OMPT is supported on major architectures, but</div><div>this piece of code attached does not build on POWER8.</div><div><br></div><div>Can I take it it is fully supported?</div><div><br></div><div>Itaru.</div></div>
</blockquote></div>