Re: [eigen] intiial ARM NEON results

[ Thread Index | Date Index | More lists.tuxfamily.org/eigen Archives ]


On Sat, Feb 27, 2010 at 7:17 PM, Benoit Jacob <jacob.benoit.1@xxxxxxxxx> wrote:
> sounds good! Looking forward to the patch :)
> Benoit
>
> 2010/2/26 Konstantinos Margaritis <markos@xxxxxxxx>:
>> On Saturday 27 February 2010 00:37:28 Konstantinos Margaritis wrote:
>>> Hi everyone,
>>>
>>> I haven't finished yet, there are 4-5 functions to finish in the ARM NEON
>>>  port, but here is a benchmark that I managed to compile and run:

Good job! With increasing proliferation of ARM based devices having
NEON support, this could give Eigen on such devices a big push.

>>>
>>> $ PATH=~/native/bin/:$PATH g++ -O3 -DNDEBUG -DREPEAT=100 -I../
>>>  benchVecAdd.cpp -o benchVecAdd -lrt $ ./benchVecAdd
>>
>> er stupid me, that's obviously a mistake, I copied from a previous run. Here are the correct results:
>>
>> $ PATH=~/native/bin/:$PATH g++ -O3 -DNDEBUG -DREPEAT=1000 -I../ benchVecAdd.cpp -o benchVecAdd -lrt
>> $ ./benchVecAdd
>>
>> 7.73s  0.0192771 GFlops
>> $ PATH=~/native/bin/:$PATH g++ -O3 -DNDEBUG -DREPEAT=1000 -mfpu=neon -mfloat-abi=softfp -I../ benchVecAdd.cpp -o
>> benchVecAdd -lrt
>> h$ ./benchVecAdd
>> 2.93s  0.0508572 GFlops
>>
>> That's ~2.64x faster!
>>
>> Konstantinos
>>
>>
>>
>
>
>



-- 
Rohit Garg

http://rpg-314.blogspot.com/

Senior Undergraduate
Department of Physics
Indian Institute of Technology
Bombay



Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/