raas / mbw Goto Github PK
View Code? Open in Web Editor NEWMemory Bandwidth Benchmark
License: GNU General Public License v3.0
Memory Bandwidth Benchmark
License: GNU General Public License v3.0
File ownership should be set exclusively in the %files section, otherwise you can't build the rpm package without root privileges.
Hi,
Please could you tag a new version please? It makes it very much easier to manage.
Martin
So you know which one's for EL6...
in the spec file it says : License: LGPLv2.1
- which obviously isn't right, since it's not a library.
https://www.gnu.org/licenses/old-licenses/lgpl-2.1.en.html
A "library" means a collection of software functions and/or data prepared so as to be conveniently linked with application programs (which use some of those functions and data) to form executables.
mbw is an executable (application program).
Thanks
-Robin
In mbw's output, the MEMCPY lines are actually for the dumb algorithm, and the DUMB lines are for memcpy. This fixes the output:
$ git diff
diff --git a/mbw.c b/mbw.c
index 6251ea9..3d75318 100644
--- a/mbw.c
+++ b/mbw.c
@@ -142,15 +142,15 @@ double worker(unsigned long long asize, long *a, long *b, int type, unsigned lon
void printout(double te, double mt, int type)
{
switch(type) {
- case 0:
- printf("Method: MEMCPY\t");
- break;
case 1:
- printf("Method: DUMB\t");
+ printf("Method: MEMCPY\t");
break;
case 2:
printf("Method: MCBLOCK\t");
break;
+ case 0:
+ printf("Method: DUMB\t");
+ break;
}
printf("Elapsed: %.5f\t", te);
printf("MiB: %.5f\t", mt);
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.