Skip to content

Commit faed501

Browse files
Small fix
1 parent 6caec0f commit faed501

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

dpctl-capi/tests/test_sycl_queue_submit.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ TEST_F(TestQueueSubmit, CheckSubmitRange_saxpy)
6969
DPCTLSyclDeviceSelectorRef DSRef = nullptr;
7070
DPCTLSyclDeviceRef DRef = nullptr;
7171

72-
EXPECT_NO_FATAL_FAILURE(DSRef = DPCTLFilterSelector_Create("opencl:cpu:0"));
72+
EXPECT_NO_FATAL_FAILURE(DSRef = DPCTLDefaultSelector_Create());
7373
EXPECT_NO_FATAL_FAILURE(DRef = DPCTLDevice_CreateFromSelector(DSRef));
7474
DPCTLDeviceMgr_PrintDeviceInfo(DRef);
7575
ASSERT_TRUE(DRef);
@@ -129,7 +129,7 @@ TEST_F(TestQueueSubmit, CheckEvent_Copy)
129129
DPCTLSyclDeviceSelectorRef DSRef = nullptr;
130130
DPCTLSyclDeviceRef DRef = nullptr;
131131

132-
DSRef = DPCTLFilterSelector_Create("opencl:cpu:0");
132+
DSRef = DPCTLDefaultSelector_Create();
133133
DRef = DPCTLDevice_CreateFromSelector(DSRef);
134134
auto QRef =
135135
DPCTLQueue_CreateForDevice(DRef, nullptr, DPCTL_DEFAULT_PROPERTY);

0 commit comments

Comments
 (0)