From 3f57662cd0db1048392f507d7603d50c9d872767 Mon Sep 17 00:00:00 2001 From: Peter Boyle Date: Tue, 19 May 2015 21:29:40 +0100 Subject: [PATCH] Build a simple kernel to compare intel compiler and clang in simple environment --- benchmarks/Grid_su3_test.cc | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 benchmarks/Grid_su3_test.cc diff --git a/benchmarks/Grid_su3_test.cc b/benchmarks/Grid_su3_test.cc new file mode 100644 index 00000000..e4d4ec0a --- /dev/null +++ b/benchmarks/Grid_su3_test.cc @@ -0,0 +1,10 @@ +#include + +using namespace std; +using namespace Grid; +using namespace Grid::QCD; + +void su3_test_mult(LatticeColourMatrix &z, LatticeColourMatrix &x,LatticeColourMatrix &y) +{ + z=x*y; +}