octave-maintainers
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Please build the JIT branch


From: fotios
Subject: Re: Please build the JIT branch
Date: Thu, 12 Jul 2012 11:10:36 +0300
User-agent: Mozilla/5.0 (X11; Linux i686; rv:13.0) Gecko/20120615 Thunderbird/13.0.1

On 07/12/2012 08:02 AM, marco atzeri wrote:
On 7/11/2012 12:00 AM, Max Brister wrote:

JIT is still pretty limited, it will not compile loops with any
function calls, even builtin functions (except for sin, cos, and exp).
It also only supports linear matrix indexing. For an example of a
function which can be compiled, see
http://jit-octave.blogspot.com/2012/06/realistic-test.html.

Max Brister


On cygwin , it build fines with LLVM 3.1

1e6 elements , K=500

3.7.0+
Elapsed time is 3.104 seconds.
Elapsed time is 18.054 seconds.

JIT branch
Elapsed time is 2.672 seconds.
Elapsed time is 0.031 seconds.

Regards
Marco
On Ubuntu 12.04 with LLVM 3.0
./configure LLVM_CONFIG=/usr/bin/llvm-config-3.0

n =  1000000
K =  500

* * * Octave 3.6.2
t_vec =  6.1705
t_loop =  7.9199

* * * Octave 3.7.0+ without JIT
t_vec =  6.1758
t_loop =  8.9876

* * * Octave 3.7.0+ with JIT
t_vec =  6.1435
t_loop =  0.045255

/Fotis


reply via email to

[Prev in Thread] Current Thread [Next in Thread]