[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Technical question
From: |
Hans Åberg |
Subject: |
Re: Technical question |
Date: |
Fri, 8 Apr 2016 10:47:39 +0200 |
> On 8 Apr 2016, at 00:15, Simon Albrecht <address@hidden> wrote:
>
>> So i was wondering if lilypond could work faster if the calculations are
>> calculated by the gpu in stead if the cpu? Because that is another sort of
>> processor?
>
> My understanding is quite limited, but I believe this can’t give you much of
> an advantage, since most of the calculations done in LilyPond are not
> directly about graphics. If you compile a larger score, you’ll see that most
> of the time goes by with ‘Interpreting music’, ‘Preprocessing graphical
> objects’, and ‘Fitting music onto <x> pages’. Most of these are heuristic
> algorithms trying to find the best layout, not actually drawing the score.
A language like OpenCL [1] allows the code to execute also on the GPU. Because
of the strong development of graphics, there is a movement using the GPU for
other computing tasks as well.
1. https://en.wikipedia.org/wiki/OpenCL
Re: Technical question, Simon Albrecht, 2016/04/07
Re: Technical question, Richard Shann, 2016/04/08