File tree Expand file tree Collapse file tree 1 file changed +4
-2
lines changed
sycl/unittests/Extensions Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -77,7 +77,9 @@ TEST_F(ProfilingTagTest, ProfilingTagSupportedDefaultQueue) {
7777
7878 sycl::event E = sycl::ext::oneapi::experimental::submit_profiling_tag (Queue);
7979 ASSERT_EQ (size_t {1 }, counter_urEnqueueTimestampRecordingExp);
80- ASSERT_EQ (size_t {1 }, counter_urEnqueueEventsWaitWithBarrier);
80+ // TODO: We expect two barriers for now, while marker events leak. Adjust when
81+ // addressed.
82+ ASSERT_EQ (size_t {2 }, counter_urEnqueueEventsWaitWithBarrier);
8183
8284 E.get_profiling_info <sycl::info::event_profiling::command_start>();
8385 ASSERT_TRUE (LatestProfilingQuery.has_value ());
@@ -135,7 +137,7 @@ TEST_F(ProfilingTagTest, ProfilingTagSupportedProfilingQueue) {
135137 ASSERT_TRUE (Dev.has (sycl::aspect::ext_oneapi_queue_profiling_tag));
136138
137139 sycl::event E = sycl::ext::oneapi::experimental::submit_profiling_tag (Queue);
138- ASSERT_EQ (size_t {0 }, counter_urEnqueueTimestampRecordingExp);
140+ ASSERT_EQ (size_t {1 }, counter_urEnqueueTimestampRecordingExp);
139141
140142 E.get_profiling_info <sycl::info::event_profiling::command_start>();
141143 ASSERT_TRUE (LatestProfilingQuery.has_value ());
You can’t perform that action at this time.
0 commit comments