[Openmp-dev] Offloading application build with a Trunk Debug Clang is so slow

Itaru Kitayama via Openmp-dev openmp-dev at lists.llvm.org
Sun Dec 22 19:47:15 PST 2019


I've collected Clang build performance data with the -ftime-trace like below

clang++ -ftime-trace -g -fopenmp -fopenmp-targets=nvptx64 mini.cpp

. I'm uploading corresponding .json files for your review as to why the
latest Clang is slow.

On Sun, Dec 22, 2019 at 10:23 AM Alexey Bataev <a.bataev at hotmail.com> wrote:

> Check-libomptarget and check-libomptarget-nvptx  do.
>
> Best regards,
> Alexey Bataev
>
> 21 дек. 2019 г., в 20:13, Itaru Kitayama via Openmp-dev <
> openmp-dev at lists.llvm.org> написал(а):
>
> 
> On x86 I see the same significant slowdown when building an app with Debug
> Clang.
>
> Does make check-openmp exercise any part of the offloading features?
>
> On Fri, Dec 20, 2019 at 8:35 AM Doerfert, Johannes <jdoerfert at anl.gov>
> wrote:
>
>> On 12/19, Itaru Kitayama wrote:
>> > On POWER8, my app builds 40 minutes with the Debug Clang (40 times
>> increase
>> > of time, when
>> > it is built with Release Clang), but on an x86 host, it just takes
>> about 10
>> > minutes and it is bearable.
>> >
>> > Could this be PowerPC specific, is it why most people aren't aware of
>> the
>> > slowness?
>>
>> That could most certainly be. Alexey should build on Power regularly
>> though.
>>
>>
>> _______________________________________________
> Openmp-dev mailing list
> Openmp-dev at lists.llvm.org
> https://lists.llvm.org/cgi-bin/mailman/listinfo/openmp-dev
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/openmp-dev/attachments/20191223/b95b1795/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: mini-b098da.json
Type: application/json
Size: 2276 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/openmp-dev/attachments/20191223/b95b1795/attachment-0004.json>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: mini-30d1d8.json
Type: application/json
Size: 12469 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/openmp-dev/attachments/20191223/b95b1795/attachment-0005.json>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: a-2c5875.json
Type: application/json
Size: 1937 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/openmp-dev/attachments/20191223/b95b1795/attachment-0006.json>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: mini-0f6a0b.json
Type: application/json
Size: 4324 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/openmp-dev/attachments/20191223/b95b1795/attachment-0007.json>


More information about the Openmp-dev mailing list