summaryrefslogtreecommitdiff
path: root/src/routines/level3/xsymm.cc
diff options
context:
space:
mode:
authorCedric Nugteren <web@cedricnugteren.nl>2016-04-28 21:14:17 +0200
committerCedric Nugteren <web@cedricnugteren.nl>2016-04-28 21:14:17 +0200
commitd9b21d7f4920b115d3fe7f2e3cce1f89eb762c10 (patch)
treec9a44f189fce5f6fc2456604dfe4c9d3e951e4e0 /src/routines/level3/xsymm.cc
parentd7ddbdeb1f416f56bc469d16c051551207274703 (diff)
Fixed the cache to store binaries instead of OpenCL programs
Diffstat (limited to 'src/routines/level3/xsymm.cc')
-rw-r--r--src/routines/level3/xsymm.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/routines/level3/xsymm.cc b/src/routines/level3/xsymm.cc
index 914a326a..a39026f1 100644
--- a/src/routines/level3/xsymm.cc
+++ b/src/routines/level3/xsymm.cc
@@ -61,7 +61,7 @@ StatusCode Xsymm<T>::DoSymm(const Layout layout, const Side side, const Triangle
// Creates a general matrix from the symmetric matrix to be able to run the regular Xgemm
// routine afterwards
try {
- auto& program = GetProgramFromCache();
+ const auto program = GetProgramFromCache();
auto kernel = Kernel(program, kernel_name);
// Sets the arguments for the symmetric-to-squared kernel