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
parent 572be5449d
commit e0171505b4
5 changed files with 8 additions and 7 deletions
+1 -1
View File
@@ -31,7 +31,7 @@ struct hipHalfHolder{
#define HINF 65504
static struct hipHalfHolder __hInfValue = {HINF};
__device__ static struct hipHalfHolder __hInfValue = {HINF};
__device__ __half __hadd(__half a, __half b) {
return a + b;