summaryrefslogtreecommitdiff
path: root/src/clblast.cc
diff options
context:
space:
mode:
authorCedric Nugteren <web@cedricnugteren.nl>2016-04-27 16:02:13 +0200
committerCedric Nugteren <web@cedricnugteren.nl>2016-04-27 16:02:13 +0200
commit82be8f211cbd50d2d75fe78d8af4a1da04a0582b (patch)
tree19b4dbb4478edb28b7afd99a11e5a1e470098a5d /src/clblast.cc
parent44bdb60e834ef015ee4cb25a6f0eba2a092291f0 (diff)
Moved all cache-related functions to a separate file; added a ClearCompiledProgramCache function to clear the cache
Diffstat (limited to 'src/clblast.cc')
-rw-r--r--src/clblast.cc6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/clblast.cc b/src/clblast.cc
index 145b6bf6..b6efd185 100644
--- a/src/clblast.cc
+++ b/src/clblast.cc
@@ -17,6 +17,7 @@
#include "clblast.h"
#include "internal/public_api.h"
+#include "internal/cache.h"
// BLAS level-1 includes
#include "internal/routines/level1/xswap.h"
@@ -1788,4 +1789,9 @@ template StatusCode PUBLIC_API Trsm<double2>(const Layout, const Side, const Tri
cl_command_queue*, cl_event*);
// =================================================================================================
+
+// Clears the cache of stored program binaries
+StatusCode ClearCompiledProgramCache() { return cache::ClearCompiledProgramCache(); }
+
+// =================================================================================================
} // namespace clblast