diff options
Diffstat (limited to 'src/routines/level1/xamax.cc')
-rw-r--r-- | src/routines/level1/xamax.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/routines/level1/xamax.cc b/src/routines/level1/xamax.cc index ffdfa496..33bd72a6 100644 --- a/src/routines/level1/xamax.cc +++ b/src/routines/level1/xamax.cc @@ -55,7 +55,7 @@ StatusCode Xamax<T>::DoAmax(const size_t n, // Retrieves the Xamax kernels from the compiled binary try { - auto& program = GetProgramFromCache(); + const auto program = GetProgramFromCache(); auto kernel1 = Kernel(program, "Xamax"); auto kernel2 = Kernel(program, "XamaxEpilogue"); |