Need help with testing vector composition branch
Boudewijn Rempt
boud at valdyas.org
Mon Oct 29 07:47:52 UTC 2012
On Sunday 28 October 2012 Oct, Dmitry Kazakov wrote:
> Hi, Andre and Timothee!
>
> Thank you for the testing! From your results I knew that Vc version works
> slower on older AMD processors, so I'll have to to this optimization
> optional. Although Intel Core-i5 shows almost the same speed-up as an i7
> cpu.
>
> In the attachment there is a patch that moves the benchmark to pigment.
> With it you can run the becnhmark without compiling Krita.
>
> To run the benchmark with a path applied you need to enter
> ./libs/pigment/tests/ folder and run ./KisCompositionBenchmark (this is a
> temporary patch, so yes, the naming myght be a bit of confusing)
>
>
I wonder how distributions will handle compiling with Vc -- whether they would compile in fallback or sse2 mode, or accidentally use avx. It might be a good idea in any case to check the processor on startup and then enable/disable vc if compiled for an architecture that's not compatible with the runtime system.
--
Boudewijn Rempt
http://www.valdyas.org, http://www.krita.org, http://www.boudewijnrempt.nl
More information about the kimageshop
mailing list