Fix fp8 convert & add option for basic example (#2129)

This commit is contained in:
Yi DING
2025-04-28 07:26:05 +08:00
committed by GitHub
parent 3d4d70d2fc
commit 8add2cf45d
2 changed files with 2 additions and 1 deletions

View File

@@ -530,7 +530,7 @@ CK_TILE_HOST_DEVICE DstT run_cast_from_f8(SrcT x)
}
else
{
if(x == 0x80)
if(x == SrcT(0x80))
{
return fNeg0;
}