Skip to content
This repository was archived by the owner on Mar 28, 2023. It is now read-only.

Commit a379148

Browse files
Pass/Fail decision error fix - variable_gather_mask.cpp
1 parent 2a8538f commit a379148

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

SYCL/ESIMD/regression/variable_gather_mask.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -138,7 +138,7 @@ int main(int argc, char **argv) {
138138
std::cout << "Running on " << dev.get_info<info::device::name>() << "\n";
139139
std::cout << "MaskedLane=" << MASKED_LANE << "\n";
140140

141-
bool passed = false;
141+
bool passed = true;
142142

143143
passed &= test("accessor", q, [&](int *B) {
144144
sycl::buffer<int, 1> Bbuf(B, range<1>(VL));
@@ -157,6 +157,6 @@ int main(int argc, char **argv) {
157157
});
158158
});
159159

160-
std::cout << (passed ? "Test FAILED\n" : "Test passed\n");
160+
std::cout << (passed ? "Test passed\n" : "Test FAILED\n");
161161
return passed ? 0 : 1;
162162
}

0 commit comments

Comments
 (0)