<div><div dir="auto">Also as I’m using local SSD, I suspect it’s due to something with offloading options at this moment.</div></div><div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Wed, Jun 10, 2020 at 19:03 Itaru Kitayama <<a href="mailto:itaru.kitayama@gmail.com">itaru.kitayama@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div dir="auto">Sorry I take it back then. An X86 build finishes just a few minutes, while on AArch64 takes a half hour, thus I’m wondering.</div></div><div dir="auto"><br></div><div dir="auto">AArch64 LLVM build is much faster when no offloading stuff is explicitly set at CMake configuration time.</div><div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Wed, Jun 10, 2020 at 18:54 Jonas Hahnfeld <<a href="mailto:hahnjo@hahnjo.de" target="_blank">hahnjo@hahnjo.de</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">You wrote "They were both Debug build". Maybe I misunderstand?<br>
<br>
Am Mittwoch, den 10.06.2020, 18:52 +0900 schrieb Itaru Kitayama:<br>
> Why do you think I build in Debug? I try to<br>
> avoid that all time.<br>
> <br>
> On Wed, Jun 10, 2020 at 18:38 Jonas Hahnfeld <<a href="mailto:hahnjo@hahnjo.de" target="_blank">hahnjo@hahnjo.de</a>> wrote:<br>
> > You should not use Debug build to compare the performance of compilers.<br>
> > As you're targeting different architectures, you might run into<br>
> > different checks in the two backends. I believe it's possible this is<br>
> > triggered by OpenMP code generation which might hit some corner cases.<br>
> > This could also happen in Release builds, but might be less probable.<br>
> > <br>
> > Also keep in mind that AArch64 (which you're probably talking about in<br>
> > the context of HPC) now uses GlobalISel in some configurations. I don't<br>
> > remember if it's with or without optimizations (or maybe even both<br>
> > nowadays?), but you can try to deactivate this on the command line to<br>
> > rule out this area.<br>
> > <br>
> > Regards<br>
> > Jonas<br>
> > <br>
> > Am Dienstag, den 09.06.2020, 08:12 +0900 schrieb Itaru Kitayama via<br>
> > Openmp-dev:<br>
> > > They were both Debug build, but it took 20-25 minutes to finish on Arm.<br>
> > > <br>
> > > On Tue, Jun 9, 2020 at 7:50 AM Itaru Kitayama <<br>
> > > <a href="mailto:itaru.kitayama@gmail.com" target="_blank">itaru.kitayama@gmail.com</a><br>
> > > > wrote:<br>
> > > > My OpenMP offloading app builds within a minute or so on<br>
> > > > x86, but the same app takes longer than 5 minutes on Arm.<br>
> > > > How do I investigate this further, supplying -v and post<br>
> > > > the log here?<br>
> <br>
> <br>
</blockquote></div></div>
</blockquote></div></div>