[Pixman] [PATCH 4/5] test: Parallize composite.c with OpenMP

Soeren Sandmann sandmann at daimi.au.dk
Wed Oct 6 04:39:56 PDT 2010


Maarten Bosmans <mkbosmans at gmail.com> writes:

> Why would you use OpenMP at all, just to run the tests in parallel?
> I'd imagine that the thread-level parallelism it gives isn't necessary
> and the tests can just as well be parallized on process-level. Isn't
> it easier to avoid the dependency on OpenMP and just use a clever
> Makefile to run multiple tests at the same time?

We already use OpenMP for a number of tests. It's not a hard
dependency - if the configure script doesn't detect OpenMP, it will
just run them serially. 

I don't think Makefile hackery would be simpler since right now all we
have to do to get the test suite running is this:

        TESTS = $(TESTPROGRAMS)


Soren


More information about the Pixman mailing list