Skip to content

Commit bdfc571

Browse files
committed
Revert unnecessary native cpu change.
1 parent db15463 commit bdfc571

File tree

2 files changed

+1
-8
lines changed

2 files changed

+1
-8
lines changed

source/adapters/native_cpu/device.cpp

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -428,10 +428,6 @@ UR_APIEXPORT ur_result_t UR_APICALL urDeviceGetInfo(ur_device_handle_t hDevice,
428428

429429
case UR_DEVICE_INFO_LOW_POWER_EVENTS_EXP:
430430
return ReturnValue(false);
431-
432-
case UR_DEVICE_INFO_QUEUE_ON_DEVICE_PROPERTIES:
433-
return ReturnValue(ur_queue_flags_t{0});
434-
435431
default:
436432
DIE_NO_IMPLEMENTATION;
437433
}

test/conformance/queue/urQueueGetInfo.cpp

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -142,6 +142,7 @@ TEST_P(urQueueGetInfoTest, InvalidNullPointerPropSizeRet) {
142142

143143
struct urQueueGetInfoDeviceQueueTestWithInfoParam : public uur::urQueueTest {
144144
void SetUp() {
145+
UUR_KNOWN_FAILURE_ON(uur::NativeCPU{});
145146
urQueueGetInfoTest::SetUp();
146147
ur_queue_flags_t deviceQueueCapabilities;
147148
ASSERT_SUCCESS(
@@ -172,8 +173,6 @@ struct urQueueGetInfoDeviceQueueTestWithInfoParam : public uur::urQueueTest {
172173
UUR_INSTANTIATE_DEVICE_TEST_SUITE_P(urQueueGetInfoDeviceQueueTestWithInfoParam);
173174

174175
TEST_P(urQueueGetInfoDeviceQueueTestWithInfoParam, DeviceDefault) {
175-
UUR_KNOWN_FAILURE_ON(uur::NativeCPU{});
176-
177176
size_t size = 0;
178177
auto infoType = UR_QUEUE_INFO_DEVICE_DEFAULT;
179178
ASSERT_SUCCESS_OR_OPTIONAL_QUERY(
@@ -189,8 +188,6 @@ TEST_P(urQueueGetInfoDeviceQueueTestWithInfoParam, DeviceDefault) {
189188
}
190189

191190
TEST_P(urQueueGetInfoDeviceQueueTestWithInfoParam, Size) {
192-
UUR_KNOWN_FAILURE_ON(uur::NativeCPU{});
193-
194191
size_t size = 0;
195192
auto infoType = UR_QUEUE_INFO_SIZE;
196193
ASSERT_SUCCESS_OR_OPTIONAL_QUERY(

0 commit comments

Comments
 (0)