summaryrefslogtreecommitdiff
path: root/src/routines/level1/xdot.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/routines/level1/xdot.cpp')
-rw-r--r--src/routines/level1/xdot.cpp5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/routines/level1/xdot.cpp b/src/routines/level1/xdot.cpp
index 9d718913..9f9c0590 100644
--- a/src/routines/level1/xdot.cpp
+++ b/src/routines/level1/xdot.cpp
@@ -46,9 +46,8 @@ void Xdot<T>::DoDot(const size_t n,
TestVectorScalar(1, dot_buffer, dot_offset);
// Retrieves the Xdot kernels from the compiled binary
- const auto program = GetProgramFromCache(context_, PrecisionValue<T>(), routine_name_);
- auto kernel1 = Kernel(program, "Xdot");
- auto kernel2 = Kernel(program, "XdotEpilogue");
+ auto kernel1 = Kernel(program_, "Xdot");
+ auto kernel2 = Kernel(program_, "XdotEpilogue");
// Creates the buffer for intermediate values
auto temp_size = 2*db_["WGS2"];