summaryrefslogtreecommitdiff
path: root/include/clblast_c.h
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 /include/clblast_c.h
parent44bdb60e834ef015ee4cb25a6f0eba2a092291f0 (diff)
Moved all cache-related functions to a separate file; added a ClearCompiledProgramCache function to clear the cache
Diffstat (limited to 'include/clblast_c.h')
-rw-r--r--include/clblast_c.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/include/clblast_c.h b/include/clblast_c.h
index 8c0a0792..1ca300ca 100644
--- a/include/clblast_c.h
+++ b/include/clblast_c.h
@@ -1036,6 +1036,12 @@ StatusCode PUBLIC_API CLBlastZtrsm(const Layout layout, const Side side, const T
// =================================================================================================
+// CLBlast stores binaries of compiled kernels into a cache in case the same kernel is used later on
+// for the same device. This cache can be cleared to free up system memory or in case of debugging.
+StatusCode PUBLIC_API CLBlastClearCompiledProgramCache();
+
+// =================================================================================================
+
#ifdef __cplusplus
} // extern "C"
#endif