添加头文件math.h,并将sqrt改为sqrtf
cuda calling a __host__ function("sqrt<int> ") from a __device__ function(" ") is not allowed
最新推荐文章于 2023-10-08 19:35:30 发布
添加头文件math.h,并将sqrt改为sqrtf