From 877aad693f5bf57f8c37ded9e2acab014a4f039b Mon Sep 17 00:00:00 2001 From: Cedric Nugteren Date: Fri, 29 Apr 2016 23:33:12 +0200 Subject: Added FillCache: a function to pre-compile all kernels for a specific device --- include/clblast.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'include/clblast.h') diff --git a/include/clblast.h b/include/clblast.h index e473adbe..075ca93e 100644 --- a/include/clblast.h +++ b/include/clblast.h @@ -558,6 +558,10 @@ StatusCode Trsm(const Layout layout, const Side side, const Triangle triangle, c // for the same device. This cache can be cleared to free up system memory or in case of debugging. StatusCode ClearCache(); +// 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 FillCache(const cl_device_id device); + // ================================================================================================= } // namespace clblast -- cgit v1.2.3