File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
test/conformance/exp_command_buffer Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -147,7 +147,7 @@ struct urUpdatableCommandBufferExpExecutionTest
147
147
if (updatable_cmd_buf_handle) {
148
148
EXPECT_SUCCESS (urCommandBufferReleaseExp (updatable_cmd_buf_handle));
149
149
}
150
- if (backend == UR_PLATFORM_BACKEND_LEVEL_ZERO) {
150
+ if (backend == UR_PLATFORM_BACKEND_LEVEL_ZERO && queue ) {
151
151
ASSERT_SUCCESS (urQueueRelease (queue));
152
152
}
153
153
@@ -157,7 +157,7 @@ struct urUpdatableCommandBufferExpExecutionTest
157
157
158
158
ur_exp_command_buffer_handle_t updatable_cmd_buf_handle = nullptr ;
159
159
ur_bool_t updatable_execution_range_support = true ;
160
- ur_queue_handle_t queue;
160
+ ur_queue_handle_t queue = nullptr ;
161
161
};
162
162
163
163
struct urCommandBufferCommandExpTest
You can’t perform that action at this time.
0 commit comments