@@ -217,15 +217,6 @@ struct ur_context_handle_t_ : _ur_object {
217217 // Add ur_event_handle_t to cache.
218218 void addEventToContextCache (ur_event_handle_t );
219219
220- enum EventCacheType {
221- HostVisibleProfilingCacheType,
222- HostVisibleRegularCacheType,
223- HostInvisibleProfilingCacheType,
224- HostInvisibleRegularCacheType,
225- CounterBasedImmediateCacheType,
226- CounterBasedRegularCacheType
227- };
228-
229220 enum ZeEventPoolCacheType {
230221 HostVisibleCacheType,
231222 HostInvisibleCacheType,
@@ -235,6 +226,14 @@ struct ur_context_handle_t_ : _ur_object {
235226 HostInvisibleCounterBasedImmediateCacheType
236227 };
237228
229+ enum EventCacheType {
230+ HostVisibleProfilingCacheType,
231+ HostVisibleRegularCacheType,
232+ HostInvisibleProfilingCacheType,
233+ HostInvisibleRegularCacheType,
234+ CounterBasedImmediateCacheType,
235+ CounterBasedRegularCacheType
236+ };
238237
239238 std::list<ze_event_pool_handle_t > *
240239 getZeEventPoolCache (bool HostVisible, bool WithProfiling,
0 commit comments