llvm
eed2d03e - [SYCL] Repurpose SYCL_CACHE_TRACE to enable fine-grained tracing of SYCL caches (#15822)

Commit
1 year ago
[SYCL] Repurpose SYCL_CACHE_TRACE to enable fine-grained tracing of SYCL caches (#15822) Currently, we use SYCL_CACHE_TRACE for events in persistent cache only. This PR repurposes SYCL_CACHE_TRACE to also enable tracing of in-memory cache and kernel_compiler. After this change, SYCL_CACHE_TRACE will accept the following bit-masks: | Bit-mask | Corresponding cache tracing | | ------ | ----------- | | 0x01 | Enable tracing of persistent cache | | 0x02 | Enable tracing of in-memory cache | | 0x04 | Enable tracing of `kernel_compiler` cache | Any valid combination of the above bit-masks can be used to enable/disable tracing of the corresponding caches. --------- Co-authored-by: Steffen Larsen <steffen.larsen@intel.com>
Author
Parents
Loading