summaryrefslogtreecommitdiff
path: root/src/tuning/routines/xgemm.cpp
diff options
context:
space:
mode:
authorCedric Nugteren <web@cedricnugteren.nl>2017-11-19 21:09:24 +0100
committerCedric Nugteren <web@cedricnugteren.nl>2017-11-19 21:09:24 +0100
commit5467c0cac55b02bda69057fe0a130379934b8edb (patch)
tree603886e444d95cd4c2ca1ee5f412d076a6fe2d30 /src/tuning/routines/xgemm.cpp
parentda76d7ab81555452a1049eb1a6d130073427067d (diff)
Fixed a variety of warnings and an error for MSVC2013 compilation
Diffstat (limited to 'src/tuning/routines/xgemm.cpp')
-rw-r--r--src/tuning/routines/xgemm.cpp9
1 files changed, 5 insertions, 4 deletions
diff --git a/src/tuning/routines/xgemm.cpp b/src/tuning/routines/xgemm.cpp
index cd22137a..a12ab706 100644
--- a/src/tuning/routines/xgemm.cpp
+++ b/src/tuning/routines/xgemm.cpp
@@ -75,10 +75,11 @@ void TuneXgemm(int argc, char* argv[]) {
const auto queue = Queue(context, device);
// Buffers
- auto a_mat = Buffer<T>(context, to * to);
- auto b_mat = Buffer<T>(context, to * to);
- auto c_mat = Buffer<T>(context, to * to);
- auto buffers = std::vector<Buffer<T>>{a_mat, b_mat, c_mat};
+ auto buffers = std::vector<Buffer<T>>{
+ Buffer<T>(context, to * to),
+ Buffer<T>(context, to * to),
+ Buffer<T>(context, to * to)
+ };
// In-direct version
printf("\n* Testing the in-direct GEMM routine for m=n=k\n");