temp fix buffer_store spill

This commit is contained in:
carlushuang
2024-03-15 22:56:41 +00:00
parent 04762d212b
commit ee397d0ab2
2 changed files with 4 additions and 3 deletions

View File

@@ -108,8 +108,8 @@ double fp16_to_double_hip(const fp16_hip_t& x) { return static_cast<double>(fp16
CK_TILE_HOST_DEVICE
fp16_hip_t float_to_fp16_hip(const float& x)
{
// return __float2half(x);
return static_cast<fp16_hip_t>(x);
return __float2half(x);
// return static_cast<fp16_hip_t>(x);
}
CK_TILE_HOST_DEVICE