[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: JIT branch merged in
From: |
Max Brister |
Subject: |
Re: JIT branch merged in |
Date: |
Fri, 20 Jul 2012 22:52:20 -0500 |
On Fri, Jul 20, 2012 at 8:39 PM, Dmitri A. Sergatskov
<address@hidden> wrote:
> On Fri, Jul 20, 2012 at 6:58 PM, Michael D Godfrey
> <address@hidden> wrote:
>> On 07/20/2012 05:16 PM, Michael Goffioul wrote:
>>
>> ./configure LLVM_CONFIG=path_to_llvm_config
>>
>> Any idea what path works for Fedora 17 ? I tried a few
>> and got various fail messages in config.log.
>>
>
> ./configure LLVM_CONFIG=/bin/llvm_config_64
> seems to work for me:
>
> With octave 3.6.3
>
> octave:8> tic; for ii=1:1e7; ii+1; endfor ; toc
> Elapsed time is 8.7 seconds.
>
> with current snapshot:
>
>
> octave:4> tic; for ii=1:1e7; ii+1; endfor ; toc
> Elapsed time is 0.018554 seconds.
>
>
> Though i do not see much difference with the Octave2 sciviews
> benchamrk (http://www.sciviews.org/benchmark/index.html)
> that does things like:
>
> cumulate = 0; b = 0;
> for i = 1:runs
> b = zeros(220, 220);
> tic;
> for j = 1:220
> for k = 1:220
> b(k,j) = abs(j - k) + 1;
> end
> end
> timing = toc;
> cumulate = cumulate + timing;
> end
>
>
> Regards,
>
> Dmitri.
> --
This is expected behavior. The only function calls currently supported
are sin, cos, and exp. Additionally, only linear indexing is currently
supported. I'm currently working on extending this support.
Max Brister