Comment #30 : Bug #956979 : Bugs : FFC

FFC

Comment 30 for bug 956979

Revision history for this message
Kristian B. Ølgaard (k.b.oelgaard) wrote : Re: [Bug 956979] Re: FFC generate code which cannot be compiled

On 22 March 2012 08:52, Johan Hake <email address hidden> wrote:
[...]

Quite different. The 'reuse' would then reduce to copying small chunks
of code, but some FFC can definitely be inspired by the latest work by
Martin on reduced caching.
However, we could have an optimisation option -fsfc (with a better
name of course) which would use the SFC graph strategy to generate
code, it would need to modify
parts of the SFC generator code, but large parts could be reused.

> I guess, so it wont probably happen without refactorizing large part of
> either code. That said, FFC's optimization code fails to be generated
> with the attached form, where SFC generate optimized code. 1/4 of the
> time is spent in GenericTensor.add and 3/4 in tabulate_tensor.

Are those timings for SFC code, or FFC non-optimised code?
I'm sure FFC compares terrible to SFC in this case.

Kristian

[...]