mirror of
https://github.com/ROCm/composable_kernel.git
synced 2026-04-20 06:49:15 +00:00
Fix fp8 convert & add option for basic example (#2129)
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user