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

Commit a27450b

Browse files
committed
Add missing return to function.
1 parent 3650f3b commit a27450b

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

SYCL/BFloat16/bfloat_hw.cpp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,11 +36,12 @@ bool test(float Val, Bfloat16StorageT Bits) {
3636
std::cout << "failed. " << Val << "(Gold) != " << NewVal << "\n";
3737
}
3838
}
39+
return passed;
3940
}
4041

4142
int main() {
4243
bool passed = true;
4344
passed &= test(3.140625, 0x4049);
4445
std::cout << (passed ? "Test Passed\n" : "Test FAILED\n");
4546
return (passed ? 0 : 1);
46-
}
47+
}

0 commit comments

Comments
 (0)