Add __device__ to needful functions for promote-free.

This commit is contained in:
Ben Sander committed 2017-03-17 11:19:48 -05:00
1 والد f4256cb57c
کامیت 92fd4c8f10
5 files changed
+8 -7

No files matched your search

+1 -1
مشاهده پرونده
@@ -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;