![]() |
Blitz Devel : |
From: Todd Veldhuizen (tveldhui_at_[hidden])
Date: 1998-07-16 14:36:21
> By the way, I'm thinking of using blitz for representing images (for
> image processing). I'm still very interested in having matrices
> within blitz but this would be a direct application of the array
> class.
>
> What do you think of the idea ? Do you know if someone else has gone
> towards the same goal ?
There are some commercial people who are interested in using
blitz for image processing. I don't know how much work they
have done on it. The multicomponent arrays stuff in blitz
should make colour image processing much nicer.
> I have seen an empty chapter in the documentation (by the way I do
> not remember if I told you that some figures are too big in the latex
> version) about tuning blitz... Would this cover tiling for cache
> optimization (a la phipac), or do you have something completely
> different in mind ?
Blitz already does tiling for stencils (although not yet for the
new "stencil object" notation). Currently tuning consists of
manually editing the <blitz/tuning.h> header, and fiddling with
the flags there. Typical flags are: should blitz unroll
loops, or does the backend compiler? should blitz tile
stencils? should it collapse loops? etc.
It would be nice to have an automatic performance tuning script,
similar to fftw and phipac. Nobody has done anything in this
direction yet. Such a script could experiment with different
settings of the compiler flags and blitz tuning flags to find
the best combination for a benchmark suite.
Cheers,
Todd