Andes Workshop

It is currently Mon Oct 22, 2018 12:18 am

All times are UTC + 8 hours [ DST ]

Post new topic Reply to topic  [ 1 post ] 
Author Message
 Post subject: About Whetstone benchmark for evaluating D10+SPU
PostPosted: Tue May 16, 2017 6:54 pm 

Joined: Fri Dec 02, 2016 11:06 am
Posts: 5
1.Whetstone-A synthetic benchmark for evaluating the overall performance of computing float-point data rating in Millions of Whetstone Instructions Per Second (MWIPS) plus derived measurements of Millions of Floating Point Instructions Per Second (MFLOPS) . The overall MWIPS calculation proportional to CPU MHz on a given type of processor is used as the measuring benchmark via MWIPS/MHZ.
2.Use the Whetstone demo to evaluate the performance of D10 with SPU in AndeSight IDE.First,import the Whetstone demo (attached at the end of this page) into AndeSight,and then start to set Build Settings as follows.
(1).Select ADP-AG101P-4GB-N1068A-SPU-32I as Target Configuration and nds32le-elf-mculib-v3s
as Tool Chain.
Build Settings-Target Configuration.png
Build Settings-Target Configuration.png [ 25.84 KiB | Viewed 1280 times ]
Build Setting-tool chain.png
Build Setting-tool chain.png [ 24.07 KiB | Viewed 1278 times ]

(2)For compiler's Build Optimization Seting,add"-funroll-loops --param max-unroll-times=4 -fsched-pressure --param sched-pressure-algorithm=2 -fno-strict-aliasing"in other optimization flags option.At the same time,select"Link Time Optimization(-flto)"option.
Build optimization setting.png
Build optimization setting.png [ 48.81 KiB | Viewed 1276 times ]

(3).For compiler's Build Micesllaneous Seting,select "Single Precision Constant"option.
Build Settings compiler-Micesllaneous.png
Build Settings compiler-Micesllaneous.png [ 30.44 KiB | Viewed 1275 times ]

(4).For Linker setting,add math library in Libraries.
Build settings-math library.png
Build settings-math library.png [ 39.54 KiB | Viewed 1274 times ]

(5).For Micesllaneous Linker flags,add "-funroll-loops --param max-unroll-times=4 -fsched-pressure --param sched-pressure-algorithm=2 -fno-strict-aliasing".
Build settings-linker-Micesllaneous.png
Build settings-linker-Micesllaneous.png [ 39.77 KiB | Viewed 1273 times ]

3.Then compile the whole project and run on FPGA after having done the Build Settings.For D10 with SPU,the Whetstone Score on FPGA is 1.094 MWIPS/MHZ.
Whetstone run result  for D10+SPU.png
Whetstone run result for D10+SPU.png [ 70.94 KiB | Viewed 1272 times ]

Whetstone-lib.tgz [76.43 KiB]
Downloaded 96 times
 Profile Send private message E-mail  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 1 post ] 

All times are UTC + 8 hours [ DST ]

Who is online

Users browsing this forum: No registered users and 1 guest

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group