@@ -217,6 +217,15 @@ struct ur_context_handle_t_ : _ur_object {
217
217
// Add ur_event_handle_t to cache.
218
218
void addEventToContextCache (ur_event_handle_t );
219
219
220
+ enum EventCacheType {
221
+ HostVisibleProfilingCacheType,
222
+ HostVisibleRegularCacheType,
223
+ HostInvisibleProfilingCacheType,
224
+ HostInvisibleRegularCacheType,
225
+ CounterBasedImmediateCacheType,
226
+ CounterBasedRegularCacheType
227
+ };
228
+
220
229
enum ZeEventPoolCacheType {
221
230
HostVisibleCacheType,
222
231
HostInvisibleCacheType,
@@ -226,14 +235,6 @@ struct ur_context_handle_t_ : _ur_object {
226
235
HostInvisibleCounterBasedImmediateCacheType
227
236
};
228
237
229
- enum EventCacheType {
230
- HostVisibleProfilingCacheType,
231
- HostVisibleRegularCacheType,
232
- HostInvisibleProfilingCacheType,
233
- HostInvisibleRegularCacheType,
234
- CounterBasedImmediateCacheType,
235
- CounterBasedRegularCacheType
236
- };
237
238
238
239
std::list<ze_event_pool_handle_t > *
239
240
getZeEventPoolCache (bool HostVisible, bool WithProfiling,
0 commit comments