@@ -159,37 +159,17 @@ struct urUpdatableCommandBufferExpExecutionTest
159
159
ASSERT_SUCCESS (urCommandBufferCreateExp (context, device, &desc,
160
160
&updatable_cmd_buf_handle));
161
161
ASSERT_NE (updatable_cmd_buf_handle, nullptr );
162
-
163
- // Currently there are synchronization issue with immediate submission when used for command buffers.
164
- // So, create queue with batched submission for this test suite if the backend is Level Zero.
165
- if (backend == UR_PLATFORM_BACKEND_LEVEL_ZERO) {
166
- ur_queue_flags_t flags = UR_QUEUE_FLAG_SUBMISSION_BATCHED;
167
- ur_queue_properties_t props = {
168
- /* .stype =*/ UR_STRUCTURE_TYPE_QUEUE_PROPERTIES,
169
- /* .pNext =*/ nullptr ,
170
- /* .flags =*/ flags,
171
- };
172
- ASSERT_SUCCESS (urQueueCreate (context, device, &props, &queue));
173
- ASSERT_NE (queue, nullptr );
174
- } else {
175
- queue = urCommandBufferExpExecutionTest::queue;
176
- }
177
162
}
178
163
179
164
void TearDown () override {
180
165
if (updatable_cmd_buf_handle) {
181
166
EXPECT_SUCCESS (urCommandBufferReleaseExp (updatable_cmd_buf_handle));
182
167
}
183
- if (backend == UR_PLATFORM_BACKEND_LEVEL_ZERO && queue) {
184
- ASSERT_SUCCESS (urQueueRelease (queue));
185
- }
186
-
187
168
UUR_RETURN_ON_FATAL_FAILURE (
188
169
urCommandBufferExpExecutionTest::TearDown ());
189
170
}
190
171
191
172
ur_exp_command_buffer_handle_t updatable_cmd_buf_handle = nullptr ;
192
- ur_queue_handle_t queue = nullptr ;
193
173
};
194
174
195
175
struct urCommandBufferCommandExpTest
0 commit comments