[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Octave optimizations (use liboil?)
From: |
Søren Hauberg |
Subject: |
Re: Octave optimizations (use liboil?) |
Date: |
Mon, 15 Feb 2010 20:58:23 -0800 |
man, 15 02 2010 kl. 23:25 -0500, skrev John Swensen:
> I was recently looking at liboil to do some fast casting and copying and
> began to wonder whether Octave could benefit from something like this. I
> know that many of the computations of Octave are optimized if compiled
> against optimized BLAS/LAPACK implementations (e.g. Atlas), but what other
> parts of Octave are already optimized and what parts are not. I assume that
> when I round floating point values and then use them as indices into an
> image, there is a cast going on somewhere there. Also, anytime I do an
> explicit typecast it might benefit. The nice thing about liboil is that it
> is optimized for a set of CPUs that represent the majority of users.
>
> Is there a benefit to incorporating something like this into Octave?
Such a thing could be interesting. I looked into liboil long time ago,
but got the impression, that while it was fast it was not very accurate.
I asked the author and he agreed with this observation. I don't know if
this is still the case, but it is a potential problem.
Soren