diff options
author | Cedric Nugteren <web@cedricnugteren.nl> | 2016-04-27 16:02:13 +0200 |
---|---|---|
committer | Cedric Nugteren <web@cedricnugteren.nl> | 2016-04-27 16:02:13 +0200 |
commit | 82be8f211cbd50d2d75fe78d8af4a1da04a0582b (patch) | |
tree | 19b4dbb4478edb28b7afd99a11e5a1e470098a5d /src/clblast.cc | |
parent | 44bdb60e834ef015ee4cb25a6f0eba2a092291f0 (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.cc | 6 |
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 |