File tree Expand file tree Collapse file tree 1 file changed +5
-4
lines changed Expand file tree Collapse file tree 1 file changed +5
-4
lines changed Original file line number Diff line number Diff line change @@ -181,8 +181,8 @@ class KernelProgramCache {
181181
182182 /* Sends message to std:cerr stream when SYCL_CACHE_TRACE environemnt is
183183 * set.*/
184- static void traceProgram (const std::string &Msg,
185- const ProgramCacheKeyT &CacheKey) {
184+ static inline void traceProgram (const std::string &Msg,
185+ const ProgramCacheKeyT &CacheKey) {
186186 static const bool traceEnabled =
187187 SYCLConfig<SYCL_CACHE_TRACE>::isTraceInMemCache ();
188188 if (traceEnabled) {
@@ -205,8 +205,9 @@ class KernelProgramCache {
205205
206206 /* Sends message to std:cerr stream when SYCL_CACHE_TRACE environemnt is
207207 * set.*/
208- static void traceKernel (const std::string &Msg, const std::string &KernelName,
209- bool IsKernelFastCache = false ) {
208+ static inline void traceKernel (const std::string &Msg,
209+ const std::string &KernelName,
210+ bool IsKernelFastCache = false ) {
210211 static const bool traceEnabled =
211212 SYCLConfig<SYCL_CACHE_TRACE>::isTraceInMemCache ();
212213 if (traceEnabled) {
You can’t perform that action at this time.
0 commit comments