File tree Expand file tree Collapse file tree 1 file changed +1
-14
lines changed Expand file tree Collapse file tree 1 file changed +1
-14
lines changed Original file line number Diff line number Diff line change @@ -92,14 +92,6 @@ bool preparePiMock(platform &Plt) {
92
92
<< std::endl;
93
93
return false ;
94
94
}
95
- // TODO remove once queue:wait() is lowered to PiQueueFinish with level zero
96
- // as well.
97
- if (detail::getSyclObjImpl (Plt)->getPlugin ().getBackend () ==
98
- backend::ext_oneapi_level_zero) {
99
- std::cout << " Not run on Level Zero, old behavior is kept there temporarily"
100
- << std::endl;
101
- return false ;
102
- }
103
95
104
96
unittest::PiMock Mock{Plt};
105
97
Mock.redefine <detail::PiApiKind::piQueueCreate>(redefinedQueueCreate);
@@ -129,12 +121,7 @@ TEST(QueueWait, QueueWaitTest) {
129
121
TestContext = {};
130
122
Q.memset (HostAlloc, 42 , 1 );
131
123
// No need to keep the event since we'll use piQueueFinish.
132
- // FIXME ... unless the plugin is Level Zero, where there's a workaround that
133
- // releases events later.
134
- if (detail::getSyclObjImpl (Plt)->getPlugin ().getBackend () !=
135
- backend::ext_oneapi_level_zero) {
136
- ASSERT_EQ (TestContext.EventReferenceCount , 0 );
137
- }
124
+ ASSERT_EQ (TestContext.EventReferenceCount , 0 );
138
125
Q.wait ();
139
126
ASSERT_EQ (TestContext.NEventsWaitedFor , 0 );
140
127
ASSERT_TRUE (TestContext.PiQueueFinishCalled );
You can’t perform that action at this time.
0 commit comments