File tree Expand file tree Collapse file tree 1 file changed +9
-2
lines changed
conformance_tests/core/test_module/src Expand file tree Collapse file tree 1 file changed +9
-2
lines changed Original file line number Diff line number Diff line change @@ -186,12 +186,19 @@ void zeModuleCreateTests::
186186 *typed_global_pointer = expected_value;
187187 lzt::append_memory_copy (bundle.list , global_pointer, memory,
188188 sizeof (expected_value));
189- lzt::close_command_list (bundle.list );
189+ if (!is_immediate) {
190+ lzt::close_command_list (bundle.list );
191+ }
190192 lzt::execute_and_sync_command_bundle (bundle, UINT64_MAX);
191193 *typed_global_pointer = ~expected_value;
194+ if (!is_immediate) {
195+ lzt::reset_command_list (bundle.list );
196+ }
192197 lzt::append_memory_copy (bundle.list , memory, global_pointer,
193198 sizeof (expected_value));
194- lzt::close_command_list (bundle.list );
199+ if (!is_immediate) {
200+ lzt::close_command_list (bundle.list );
201+ }
195202 lzt::execute_and_sync_command_bundle (bundle, UINT64_MAX);
196203 EXPECT_EQ (expected_value, *typed_global_pointer);
197204 lzt::free_memory (memory);
You can’t perform that action at this time.
0 commit comments