Remove hard-coded static keyword from OpenCL kernels
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user