Add __device__ to needful functions for promote-free.

[ROCm/clr commit: 92fd4c8f10]
This commit is contained in:
Ben Sander
2017-03-17 11:19:48 -05:00
rodzic 572be5449d
commit e0171505b4
5 zmienionych plików z 8 dodań i 7 usunięć
@@ -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);
}