diff --git a/source/adapters/level_zero/context.hpp b/source/adapters/level_zero/context.hpp index 6245abcc2d..9f9cc638b7 100644 --- a/source/adapters/level_zero/context.hpp +++ b/source/adapters/level_zero/context.hpp @@ -214,6 +214,15 @@ struct ur_context_handle_t_ : _ur_object { // Add ur_event_handle_t to cache. void addEventToContextCache(ur_event_handle_t); + enum EventCacheType { + HostVisibleProfilingCacheType, + HostVisibleRegularCacheType, + HostInvisibleProfilingCacheType, + HostInvisibleRegularCacheType, + CounterBasedImmediateCacheType, + CounterBasedRegularCacheType + }; + enum ZeEventPoolCacheType { HostVisibleCacheType, HostInvisibleCacheType, @@ -223,14 +232,6 @@ struct ur_context_handle_t_ : _ur_object { HostInvisibleCounterBasedImmediateCacheType }; - enum EventCacheType { - HostVisibleProfilingCacheType, - HostVisibleRegularCacheType, - HostInvisibleProfilingCacheType, - HostInvisibleRegularCacheType, - CounterBasedImmediateCacheType, - CounterBasedRegularCacheType - }; std::list * getZeEventPoolCache(bool HostVisible, bool WithProfiling,