summaryrefslogtreecommitdiff
path: root/src/routines/level1/xscal.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/routines/level1/xscal.cc')
-rw-r--r--src/routines/level1/xscal.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/routines/level1/xscal.cc b/src/routines/level1/xscal.cc
index 8078c076..22d2cb5b 100644
--- a/src/routines/level1/xscal.cc
+++ b/src/routines/level1/xscal.cc
@@ -61,7 +61,7 @@ StatusCode Xscal<T>::DoScal(const size_t n, const T alpha,
// Retrieves the Xscal kernel from the compiled binary
try {
- const auto program = GetProgramFromCache();
+ const auto program = GetProgramFromCache(context_, precision_, routine_name_);
auto kernel = Kernel(program, kernel_name);
// Sets the kernel arguments