Skip to content

Commit 6eb9eed

Browse files
[L0] Refactored against in-order list to enable CB event by default
Signed-off-by: Winston Zhang <winston.zhang@intel.com>
1 parent 5c9de5a commit 6eb9eed

File tree

1 file changed

+8
-9
lines changed

1 file changed

+8
-9
lines changed

source/adapters/level_zero/context.hpp

Lines changed: 8 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -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

Comments
 (0)