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

Commit b3e3072

Browse files
Update SYCL/BFloat16/bfloat_hw.cpp
Co-authored-by: aelovikov-intel <[email protected]>
1 parent 92c8e96 commit b3e3072

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

SYCL/BFloat16/bfloat_hw.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ bool test(float Val, Bfloat16StorageT Bits) {
4444

4545
int main() {
4646
bool passed = true;
47-
passed &= test(3.140625, 0x4049);
47+
passed &= test(3.140625f, 0x4049);
4848
std::cout << (passed ? "Test Passed\n" : "Test FAILED\n");
4949
return (passed ? 0 : 1);
5050
}

0 commit comments

Comments
 (0)