Andes Workshop

It is currently Thu Mar 28, 2024 11:19 pm

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 
Offline

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.
Attachment:
Build Settings-Target Configuration.png
Build Settings-Target Configuration.png [ 25.84 KiB | Viewed 8697 times ]
Attachment:
Build Setting-tool chain.png
Build Setting-tool chain.png [ 24.07 KiB | Viewed 8695 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.
Attachment:
Build optimization setting.png
Build optimization setting.png [ 48.81 KiB | Viewed 8693 times ]

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

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

(5).For Micesllaneous Linker flags,add "-funroll-loops --param max-unroll-times=4 -fsched-pressure --param sched-pressure-algorithm=2 -fno-strict-aliasing".
Attachment:
Build settings-linker-Micesllaneous.png
Build settings-linker-Micesllaneous.png [ 39.77 KiB | Viewed 8690 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.
Attachment:
Whetstone run result  for D10+SPU.png
Whetstone run result for D10+SPU.png [ 70.94 KiB | Viewed 8689 times ]


Attachments:
Whetstone-lib.tgz [76.43 KiB]
Downloaded 756 times
Top
 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: Google [Bot] and 15 guests


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:  
cron
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group