Remove hard-coded static keyword from OpenCL kernels

This commit is contained in:
jsteube
2019-04-13 18:46:19 +02:00
parent 27f130ea90
commit 7c6970dbdd
347 changed files with 969 additions and 959 deletions
+2 -2
View File
@@ -28,7 +28,7 @@ CONSTANT_AS u32a theMagicArray[64] =
0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000,
};
DECLSPEC static u32 GETSHIFTEDINT_CONST (CONSTANT_AS u32a *a, const int n)
DECLSPEC u32 GETSHIFTEDINT_CONST (CONSTANT_AS u32a *a, const int n)
{
const int d = n / 4;
const int m = n & 3;
@@ -40,7 +40,7 @@ DECLSPEC static u32 GETSHIFTEDINT_CONST (CONSTANT_AS u32a *a, const int n)
return h32_from_64_S (tmp);
}
DECLSPEC static void SETSHIFTEDINT (u32 *a, const int n, const u32 v)
DECLSPEC void SETSHIFTEDINT (u32 *a, const int n, const u32 v)
{
const int d = n / 4;
const int m = n & 3;