Andes Workshop http://forum.andestech.com/ |
|
About Whetstone benchmark for evaluating D10+SPU http://forum.andestech.com/viewtopic.php?f=6&t=977 |
Page 1 of 1 |
Author: | Richard Kwan [ Tue May 16, 2017 6:54 pm ] | ||
Post subject: | About Whetstone benchmark for evaluating D10+SPU | ||
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 [ 25.84 KiB | Viewed 8957 times ] Attachment: Build Setting-tool chain.png [ 24.07 KiB | Viewed 8955 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: (3).For compiler's Build Micesllaneous Seting,select "Single Precision Constant"option. Attachment: (4).For Linker setting,add math library in Libraries. Attachment: (5).For Micesllaneous Linker flags,add "-funroll-loops --param max-unroll-times=4 -fsched-pressure --param sched-pressure-algorithm=2 -fno-strict-aliasing". Attachment: 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:
|
Page 1 of 1 | All times are UTC + 8 hours [ DST ] |
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group http://www.phpbb.com/ |