summaryrefslogtreecommitdiff
path: root/src/routines/level1/xamax.cc
diff options
context:
space:
mode:
authorCedric Nugteren <web@cedricnugteren.nl>2016-06-17 13:57:50 +0200
committerCedric Nugteren <web@cedricnugteren.nl>2016-06-17 13:57:50 +0200
commit536b7fe4bce4b183cb060a1b9045752ae39d842f (patch)
tree1e1365317942c97f96764b774878868aae03faea /src/routines/level1/xamax.cc
parent98a95c89fc0633efdc8439c942762bef9a1e5e1d (diff)
Removed the interface to the cache functions from the Routine class, calls them directly now
Diffstat (limited to 'src/routines/level1/xamax.cc')
-rw-r--r--src/routines/level1/xamax.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/routines/level1/xamax.cc b/src/routines/level1/xamax.cc
index 6028d953..9e203d03 100644
--- a/src/routines/level1/xamax.cc
+++ b/src/routines/level1/xamax.cc
@@ -56,7 +56,7 @@ StatusCode Xamax<T>::DoAmax(const size_t n,
// Retrieves the Xamax kernels from the compiled binary
try {
- const auto program = GetProgramFromCache();
+ const auto program = GetProgramFromCache(context_, precision_, routine_name_);
auto kernel1 = Kernel(program, "Xamax");
auto kernel2 = Kernel(program, "XamaxEpilogue");