diff options
Diffstat (limited to 'src/routines/level1/xaxpy.cc')
-rw-r--r-- | src/routines/level1/xaxpy.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/routines/level1/xaxpy.cc b/src/routines/level1/xaxpy.cc index 37d23543..96809a57 100644 --- a/src/routines/level1/xaxpy.cc +++ b/src/routines/level1/xaxpy.cc @@ -64,7 +64,7 @@ StatusCode Xaxpy<T>::DoAxpy(const size_t n, const T alpha, // Retrieves the Xaxpy kernel from the compiled binary try { - auto& program = GetProgramFromCache(); + const auto program = GetProgramFromCache(); auto kernel = Kernel(program, kernel_name); // Sets the kernel arguments |