summaryrefslogtreecommitdiff
path: root/src/routines/level2/xher2.cpp
diff options
context:
space:
mode:
authorCedric Nugteren <web@cedricnugteren.nl>2017-02-05 22:18:59 +0100
committerCedric Nugteren <web@cedricnugteren.nl>2017-02-05 22:18:59 +0100
commitc248f900c036e1d1644e2cc744c45c94f61c5835 (patch)
tree9667cb393e82e8ed964ecc2ed5ae6296becf8511 /src/routines/level2/xher2.cpp
parente7cbb5915aef16f3a64566292459eaede5a600e5 (diff)
parentfd471e380c54d5496ca1e2b7304408d27a9c7649 (diff)
Merge branch 'development' into triangular_solvers
Diffstat (limited to 'src/routines/level2/xher2.cpp')
-rw-r--r--src/routines/level2/xher2.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/routines/level2/xher2.cpp b/src/routines/level2/xher2.cpp
index 11e2c871..a420e693 100644
--- a/src/routines/level2/xher2.cpp
+++ b/src/routines/level2/xher2.cpp
@@ -54,8 +54,7 @@ void Xher2<T>::DoHer2(const Layout layout, const Triangle triangle,
TestVectorY(n, y_buffer, y_offset, y_inc);
// Retrieves the kernel from the compiled binary
- const auto program = GetProgramFromCache(context_, PrecisionValue<T>(), routine_name_);
- auto kernel = Kernel(program, "Xher2");
+ auto kernel = Kernel(program_, "Xher2");
// Sets the kernel arguments
kernel.SetArgument(0, static_cast<int>(n));