diff options
author | Cedric Nugteren <web@cedricnugteren.nl> | 2016-04-29 23:33:12 +0200 |
---|---|---|
committer | Cedric Nugteren <web@cedricnugteren.nl> | 2016-04-29 23:33:12 +0200 |
commit | 877aad693f5bf57f8c37ded9e2acab014a4f039b (patch) | |
tree | 01ff55f48ed34164d19138c75fe47abeb14c5bb9 /include/clblast_c.h | |
parent | 4f528b1730df1ffda9d396030cfc4c4ddf0203fb (diff) |
Added FillCache: a function to pre-compile all kernels for a specific device
Diffstat (limited to 'include/clblast_c.h')
-rw-r--r-- | include/clblast_c.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/include/clblast_c.h b/include/clblast_c.h index 45e50cff..dd9b0f67 100644 --- a/include/clblast_c.h +++ b/include/clblast_c.h @@ -1076,6 +1076,10 @@ StatusCode PUBLIC_API CLBlastZtrsm(const Layout layout, const Side side, const T // for the same device. This cache can be cleared to free up system memory or in case of debugging. StatusCode PUBLIC_API CLBlastClearCache(); +// The cache can also be pre-initialized for a specific device with all possible CLBLast kernels. +// Further CLBlast routine calls will then run at maximum speed. +StatusCode PUBLIC_API CLBlastFillCache(const cl_device_id device); + // ================================================================================================= #ifdef __cplusplus |