difference among static_cast<>, (int), and __float2int_rn() in cuda

前端 未结 0 1554
眼角桃花
眼角桃花 2020-12-10 05:35

I have a question about the difference between type conversions in CUDA:

static_cast(1.3f)
(int)1.3f
__float2int_rn(1.3f)

For

相关标签:
回答
  • 消灭零回复
提交回复
热议问题