Skip to content

Commit d92fed5

Browse files
committed
Formatting change
1 parent ccb6775 commit d92fed5

File tree

1 file changed

+19
-19
lines changed

1 file changed

+19
-19
lines changed

test/conformance/queue/urQueueCreate.cpp

Lines changed: 19 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -77,23 +77,23 @@ TEST_P(urQueueCreateTest, InvalidValueProperties) {
7777
}
7878

7979
TEST_P(urQueueCreateTest, InvalidQueueProperties) {
80-
ur_queue_properties_t props = {
81-
/*.stype =*/UR_STRUCTURE_TYPE_QUEUE_PROPERTIES,
82-
/*.pNext =*/nullptr,
83-
/*.flags =*/UR_QUEUE_FLAG_PRIORITY_HIGH | UR_QUEUE_FLAG_PRIORITY_LOW,
84-
};
85-
// It should be an error to specify both low/high priorities
86-
{
87-
ur_queue_handle_t queue = nullptr;
88-
ASSERT_EQ_RESULT(UR_RESULT_ERROR_INVALID_QUEUE_PROPERTIES,
89-
urQueueCreate(context, device, &props, &queue));
90-
}
91-
// It should be an error to specify both batched and immediate submission
92-
{
93-
ur_queue_handle_t queue = nullptr;
94-
props.flags =
95-
UR_QUEUE_FLAG_SUBMISSION_BATCHED | UR_QUEUE_FLAG_SUBMISSION_IMMEDIATE;
96-
ASSERT_EQ_RESULT(UR_RESULT_ERROR_INVALID_QUEUE_PROPERTIES,
97-
urQueueCreate(context, device, &props, &queue));
98-
}
80+
ur_queue_properties_t props = {
81+
/*.stype =*/UR_STRUCTURE_TYPE_QUEUE_PROPERTIES,
82+
/*.pNext =*/nullptr,
83+
/*.flags =*/UR_QUEUE_FLAG_PRIORITY_HIGH | UR_QUEUE_FLAG_PRIORITY_LOW,
84+
};
85+
// It should be an error to specify both low/high priorities
86+
{
87+
ur_queue_handle_t queue = nullptr;
88+
ASSERT_EQ_RESULT(UR_RESULT_ERROR_INVALID_QUEUE_PROPERTIES,
89+
urQueueCreate(context, device, &props, &queue));
90+
}
91+
// It should be an error to specify both batched and immediate submission
92+
{
93+
ur_queue_handle_t queue = nullptr;
94+
props.flags = UR_QUEUE_FLAG_SUBMISSION_BATCHED |
95+
UR_QUEUE_FLAG_SUBMISSION_IMMEDIATE;
96+
ASSERT_EQ_RESULT(UR_RESULT_ERROR_INVALID_QUEUE_PROPERTIES,
97+
urQueueCreate(context, device, &props, &queue));
98+
}
9999
}

0 commit comments

Comments
 (0)