Update of /cvsroot/compbench/CompBenchmarks++/SupportedBenchmarks
In directory sc8-pr-cvs4.sourceforge.net:/tmp/cvs-serv11724
Modified Files:
Benchmark-LINPACKC.libwrapper.h
Log Message:
Improvements and adapations for CBMPackage and new related API usage.
Index: Benchmark-LINPACKC.libwrapper.h
===================================================================
RCS file: /cvsroot/compbench/CompBenchmarks++/SupportedBenchmarks/Benchmark-LINPACKC.libwrapper.h,v
retrieving revision 1.2
retrieving revision 1.3
diff -C2 -d -r1.2 -r1.3
*** Benchmark-LINPACKC.libwrapper.h 3 Jan 2007 22:06:27 -0000 1.2
--- Benchmark-LINPACKC.libwrapper.h 11 Jan 2007 19:57:14 -0000 1.3
***************
*** 1,3 ****
--- 1,4 ----
#include <Benchmark/Benchmark-DLLoader.h>
+ #include <UI/UI.h>
BenchmarkVector& CBMPackageLINPACKC::Benchmarks(void) {
***************
*** 10,13 ****
--- 11,31 ----
}
+ CBMBenchmark *CBMPackageLINPACKC::Benchmark(std::string bid) {
+ if (bid == "linpackc-sp-unroll") {
+ return(new CBMBenchmarkLINPACKC_SP_UNROLL(this));
+ }
+ if (bid == "linpackc-dp-roll") {
+ return(new CBMBenchmarkLINPACKC_DP_ROLL(this));
+ }
+ if (bid == "linpackc-dp-unroll") {
+ return(new CBMBenchmarkLINPACKC_DP_UNROLL(this));
+ }
+ if (bid == "linpackc-sp-roll") {
+ return(new CBMBenchmarkLINPACKC_SP_ROLL(this));
+ }
+ UI->Fatal("Unknown benchmark");
+ return(0);
+ }
+
CBMPackage *package_LINPACKC = 0;
CBMPackage *cbmlib_getPackage(void) {
|