summaryrefslogtreecommitdiff
path: root/src/routines/level1/xaxpy.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/routines/level1/xaxpy.cc')
-rw-r--r--src/routines/level1/xaxpy.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/routines/level1/xaxpy.cc b/src/routines/level1/xaxpy.cc
index dbc05cf7..221e1195 100644
--- a/src/routines/level1/xaxpy.cc
+++ b/src/routines/level1/xaxpy.cc
@@ -65,7 +65,7 @@ StatusCode Xaxpy<T>::DoAxpy(const size_t n, const T alpha,
// Retrieves the Xaxpy kernel from the compiled binary
try {
- const auto program = GetProgramFromCache();
+ const auto program = GetProgramFromCache(context_, precision_, routine_name_);
auto kernel = Kernel(program, kernel_name);
// Upload the scalar argument as a constant buffer to the device (needed for half-precision)