Skip to content

Commit dd05319

Browse files
committed
[SYCL] Disable sporadically failing unittest on Windows
MultipleDevsCache has been failing testing in post-commit on Windows sporadically since intel#7113. This commit disables the test on Windows while the cause of the sporadic behavior is investigated and fixed. Signed-off-by: Larsen, Steffen <[email protected]>
1 parent 81882ed commit dd05319

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

sycl/unittests/kernel-and-program/MultipleDevsCache.cpp

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -131,6 +131,8 @@ class MultipleDeviceCacheTest : public ::testing::Test {
131131
// Test that program is retained for each device and each kernel is released
132132
// once
133133
TEST_F(MultipleDeviceCacheTest, ProgramRetain) {
134+
// Temporarily disabled on Windows due to sporadic failures.
135+
#ifndef _WIN32
134136
{
135137
std::vector<sycl::device> Devices = Plt.get_devices(info::device_type::gpu);
136138
sycl::context Context(Devices);
@@ -175,4 +177,5 @@ TEST_F(MultipleDeviceCacheTest, ProgramRetain) {
175177
// will not be removed twice for the other programs. As a result we must
176178
// expect 2 piKernelRelease calls.
177179
EXPECT_EQ(KernelReleaseCounter, 2) << "Expect 2 piKernelRelease calls";
180+
#endif // _WIN32
178181
}

0 commit comments

Comments
 (0)