Add __device__ to needful functions for promote-free.

This commit is contained in:
Ben Sander
2017-03-17 11:19:48 -05:00
parent f4256cb57c
commit 92fd4c8f10
5 changed files with 8 additions and 7 deletions
+2 -1
View File
@@ -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);
}