summaryrefslogtreecommitdiff
path: root/src/clblast.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/clblast.cpp')
-rw-r--r--src/clblast.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/clblast.cpp b/src/clblast.cpp
index e0f8add2..35f3f552 100644
--- a/src/clblast.cpp
+++ b/src/clblast.cpp
@@ -2165,7 +2165,8 @@ template StatusCode PUBLIC_API Omatcopy<half>(const Layout, const Transpose,
// Clears the cache of stored binaries
StatusCode ClearCache() {
try {
- CacheClearAll();
+ ProgramCache::Instance().Invalidate();
+ BinaryCache::Instance().Invalidate();
} catch (...) { return DispatchException(); }
return StatusCode::kSuccess;
}