Skip to content

Commit 72c03b6

Browse files
committed
Disable the test on host
1 parent 0017bd6 commit 72c03b6

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

sycl/unittests/scheduler/Regression.cpp

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -58,6 +58,10 @@ static pi_result redefinedEnqueueNativeKernel(
5858
TEST_F(SchedulerTest, CheckArgsBlobInPiEnqueueNativeKernelIsValid) {
5959
default_selector Selector;
6060
platform Plt{default_selector()};
61+
if (Plt.is_host()) {
62+
std::cout << "Not run due to host-only environment\n";
63+
return;
64+
}
6165

6266
unittest::PiMock Mock{Plt};
6367
setupDefaultMockAPIs(Mock);

0 commit comments

Comments
 (0)