Add __device__ to needful functions for promote-free.
[ROCm/hip commit: 29232ff283]
Bu işleme şunda yer alıyor:
@@ -202,7 +202,8 @@ __device__ long long int llroundf(float x)
|
||||
int y = hc::precise_math::roundf(x);
|
||||
long long int z = y;
|
||||
return z;
|
||||
}__device__ float log10f(float x)
|
||||
}
|
||||
__device__ float log10f(float x)
|
||||
{
|
||||
return hc::precise_math::log10f(x);
|
||||
}
|
||||
|
||||
Yeni konuda referans
Bir kullanıcı engelle