OpenCL Kernels: Use static declaraction for uXXa variables used in __constant space

This commit is contained in:
jsteube
2018-01-18 23:19:31 +01:00
parent 3a303ffce4
commit 53f3da9f63
110 changed files with 177 additions and 175 deletions
+1 -1
View File
@@ -14,7 +14,7 @@
#include "inc_rp_optimized.cl"
#include "inc_simd.cl"
__constant u64a k_sha512[80] =
__constant static u64a k_sha512[80] =
{
SHA512C00, SHA512C01, SHA512C02, SHA512C03,
SHA512C04, SHA512C05, SHA512C06, SHA512C07,