Silent warnings about duplicate static keyword
static is already in __DEVICE__, so should be removed.
[ROCm/clr commit: cfa71293ce]
Este commit está contenido en:
1 padre
4546edb52f
commit
2f6bee46f9
1 file changed
+2
-2
@@ -1359,10 +1359,10 @@ __DEVICE__ inline static unsigned long long max(long long arg1, unsigned long lo
|
||||
return max((unsigned long long) arg1, arg2);
|
||||
}*/
|
||||
#else
|
||||
__DEVICE__ inline static int min(int arg1, int arg2) {
|
||||
__DEVICE__ inline int min(int arg1, int arg2) {
|
||||
return (arg1 < arg2) ? arg1 : arg2;
|
||||
}
|
||||
__DEVICE__ inline static int max(int arg1, int arg2) {
|
||||
__DEVICE__ inline int max(int arg1, int arg2) {
|
||||
return (arg1 > arg2) ? arg1 : arg2;
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user