Add __device__ to needful functions for promote-free.
This commit is contained in:
1 والد
f4256cb57c
کامیت
92fd4c8f10
5 files changed
+8
-7
No files matched your search
@@ -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;
|
||||
|
||||
Reference in new issue
Block a user