Add __device__ to needful functions for promote-free.

This commit is contained in:
Ben Sander
2017-03-17 11:19:48 -05:00
parent e85c167171
commit 29232ff283
5 changed files with 8 additions and 7 deletions
+2 -2
View File
@@ -41,8 +41,8 @@ struct holder32Bit {
};
} __attribute__((aligned(4)));
struct holder64Bit hold64;
struct holder32Bit hold32;
__device__ struct holder64Bit hold64;
__device__ struct holder32Bit hold32;
__device__ float __double2float_rd(double x)
{