File tree Expand file tree Collapse file tree 1 file changed +5
-3
lines changed Expand file tree Collapse file tree 1 file changed +5
-3
lines changed Original file line number Diff line number Diff line change @@ -328,7 +328,8 @@ class KernelProgramCache {
328328
329329 // Sends message to std:cerr stream when SYCL_CACHE_TRACE environemnt is
330330 // set.
331- static inline void traceProgram (const std::string &Msg,
331+ template <typename MsgType>
332+ static inline void traceProgram (const MsgType &Msg,
332333 const ProgramCacheKeyT &CacheKey) {
333334 if (!SYCLConfig<SYCL_CACHE_TRACE>::isTraceInMemCache ())
334335 return ;
@@ -362,8 +363,9 @@ class KernelProgramCache {
362363
363364 // Sends message to std:cerr stream when SYCL_CACHE_TRACE environemnt is
364365 // set.
365- static inline void traceKernel (std::string_view Msg,
366- std::string_view KernelName,
366+ template <typename MsgType>
367+ static inline void traceKernel (const MsgType &Msg,
368+ KernelNameStrRefT KernelName,
367369 bool IsFastKernelCache = false ) {
368370 if (!SYCLConfig<SYCL_CACHE_TRACE>::isTraceInMemCache ())
369371 return ;
You can’t perform that action at this time.
0 commit comments