From ed8af919a1b10876441469cfc750bb2c0b76b23e Mon Sep 17 00:00:00 2001 From: jsteube Date: Sat, 6 Apr 2019 13:19:54 +0200 Subject: [PATCH] Use local memory for DES constants in -m 15300 and for AES in -m 137xx --- OpenCL/m13711-pure.cl | 3 --- OpenCL/m13712-pure.cl | 3 --- OpenCL/m13713-pure.cl | 3 --- OpenCL/m13721-pure.cl | 3 --- OpenCL/m13722-pure.cl | 3 --- OpenCL/m13723-pure.cl | 3 --- OpenCL/m13731-pure.cl | 3 --- OpenCL/m13732-pure.cl | 3 --- OpenCL/m13733-pure.cl | 3 --- OpenCL/m13751-pure.cl | 3 --- OpenCL/m13752-pure.cl | 3 --- OpenCL/m13753-pure.cl | 3 --- OpenCL/m13771-pure.cl | 3 --- OpenCL/m13772-pure.cl | 3 --- OpenCL/m13773-pure.cl | 3 --- OpenCL/m15300-pure.cl | 6 ------ 16 files changed, 51 deletions(-) diff --git a/OpenCL/m13711-pure.cl b/OpenCL/m13711-pure.cl index 625cdf611..702176d04 100644 --- a/OpenCL/m13711-pure.cl +++ b/OpenCL/m13711-pure.cl @@ -5,9 +5,6 @@ //#define NEW_SIMD_CODE -#undef LOCAL_MEM_TYPE -#define LOCAL_MEM_TYPE LOCAL_MEM_TYPE_GLOBAL - #ifdef KERNEL_STATIC #include "inc_vendor.h" #include "inc_types.h" diff --git a/OpenCL/m13712-pure.cl b/OpenCL/m13712-pure.cl index cd4f09ca6..8c060f5e9 100644 --- a/OpenCL/m13712-pure.cl +++ b/OpenCL/m13712-pure.cl @@ -5,9 +5,6 @@ //#define NEW_SIMD_CODE -#undef LOCAL_MEM_TYPE -#define LOCAL_MEM_TYPE LOCAL_MEM_TYPE_GLOBAL - #ifdef KERNEL_STATIC #include "inc_vendor.h" #include "inc_types.h" diff --git a/OpenCL/m13713-pure.cl b/OpenCL/m13713-pure.cl index 1501a5045..455e931b8 100644 --- a/OpenCL/m13713-pure.cl +++ b/OpenCL/m13713-pure.cl @@ -5,9 +5,6 @@ //#define NEW_SIMD_CODE -#undef LOCAL_MEM_TYPE -#define LOCAL_MEM_TYPE LOCAL_MEM_TYPE_GLOBAL - #ifdef KERNEL_STATIC #include "inc_vendor.h" #include "inc_types.h" diff --git a/OpenCL/m13721-pure.cl b/OpenCL/m13721-pure.cl index 3169e8a2f..8761ec53a 100644 --- a/OpenCL/m13721-pure.cl +++ b/OpenCL/m13721-pure.cl @@ -5,9 +5,6 @@ //#define NEW_SIMD_CODE -#undef LOCAL_MEM_TYPE -#define LOCAL_MEM_TYPE LOCAL_MEM_TYPE_GLOBAL - #ifdef KERNEL_STATIC #include "inc_vendor.h" #include "inc_types.h" diff --git a/OpenCL/m13722-pure.cl b/OpenCL/m13722-pure.cl index 852b335bd..95a205165 100644 --- a/OpenCL/m13722-pure.cl +++ b/OpenCL/m13722-pure.cl @@ -5,9 +5,6 @@ //#define NEW_SIMD_CODE -#undef LOCAL_MEM_TYPE -#define LOCAL_MEM_TYPE LOCAL_MEM_TYPE_GLOBAL - #ifdef KERNEL_STATIC #include "inc_vendor.h" #include "inc_types.h" diff --git a/OpenCL/m13723-pure.cl b/OpenCL/m13723-pure.cl index 2672b1823..8c1bd8989 100644 --- a/OpenCL/m13723-pure.cl +++ b/OpenCL/m13723-pure.cl @@ -5,9 +5,6 @@ //#define NEW_SIMD_CODE -#undef LOCAL_MEM_TYPE -#define LOCAL_MEM_TYPE LOCAL_MEM_TYPE_GLOBAL - #ifdef KERNEL_STATIC #include "inc_vendor.h" #include "inc_types.h" diff --git a/OpenCL/m13731-pure.cl b/OpenCL/m13731-pure.cl index 521696b35..d9cde72fe 100644 --- a/OpenCL/m13731-pure.cl +++ b/OpenCL/m13731-pure.cl @@ -5,9 +5,6 @@ //#define NEW_SIMD_CODE -//#undef LOCAL_MEM_TYPE -//#define LOCAL_MEM_TYPE LOCAL_MEM_TYPE_GLOBAL - #ifdef KERNEL_STATIC #include "inc_vendor.h" #include "inc_types.h" diff --git a/OpenCL/m13732-pure.cl b/OpenCL/m13732-pure.cl index 79634caee..a4f53605d 100644 --- a/OpenCL/m13732-pure.cl +++ b/OpenCL/m13732-pure.cl @@ -5,9 +5,6 @@ //#define NEW_SIMD_CODE -//#undef LOCAL_MEM_TYPE -//#define LOCAL_MEM_TYPE LOCAL_MEM_TYPE_GLOBAL - #ifdef KERNEL_STATIC #include "inc_vendor.h" #include "inc_types.h" diff --git a/OpenCL/m13733-pure.cl b/OpenCL/m13733-pure.cl index 9e20fd6d1..db5c04902 100644 --- a/OpenCL/m13733-pure.cl +++ b/OpenCL/m13733-pure.cl @@ -5,9 +5,6 @@ //#define NEW_SIMD_CODE -//#undef LOCAL_MEM_TYPE -//#define LOCAL_MEM_TYPE LOCAL_MEM_TYPE_GLOBAL - #ifdef KERNEL_STATIC #include "inc_vendor.h" #include "inc_types.h" diff --git a/OpenCL/m13751-pure.cl b/OpenCL/m13751-pure.cl index 97c75fdbc..15b5d8f8b 100644 --- a/OpenCL/m13751-pure.cl +++ b/OpenCL/m13751-pure.cl @@ -5,9 +5,6 @@ //#define NEW_SIMD_CODE -#undef LOCAL_MEM_TYPE -#define LOCAL_MEM_TYPE LOCAL_MEM_TYPE_GLOBAL - #ifdef KERNEL_STATIC #include "inc_vendor.h" #include "inc_types.h" diff --git a/OpenCL/m13752-pure.cl b/OpenCL/m13752-pure.cl index 8bf830e34..af1ea1f69 100644 --- a/OpenCL/m13752-pure.cl +++ b/OpenCL/m13752-pure.cl @@ -5,9 +5,6 @@ //#define NEW_SIMD_CODE -#undef LOCAL_MEM_TYPE -#define LOCAL_MEM_TYPE LOCAL_MEM_TYPE_GLOBAL - #ifdef KERNEL_STATIC #include "inc_vendor.h" #include "inc_types.h" diff --git a/OpenCL/m13753-pure.cl b/OpenCL/m13753-pure.cl index 9460b897d..cf763e4c6 100644 --- a/OpenCL/m13753-pure.cl +++ b/OpenCL/m13753-pure.cl @@ -5,9 +5,6 @@ //#define NEW_SIMD_CODE -#undef LOCAL_MEM_TYPE -#define LOCAL_MEM_TYPE LOCAL_MEM_TYPE_GLOBAL - #ifdef KERNEL_STATIC #include "inc_vendor.h" #include "inc_types.h" diff --git a/OpenCL/m13771-pure.cl b/OpenCL/m13771-pure.cl index c15c2b7a6..921c4881e 100644 --- a/OpenCL/m13771-pure.cl +++ b/OpenCL/m13771-pure.cl @@ -5,9 +5,6 @@ //#define NEW_SIMD_CODE -#undef LOCAL_MEM_TYPE -#define LOCAL_MEM_TYPE LOCAL_MEM_TYPE_GLOBAL - #ifdef KERNEL_STATIC #include "inc_vendor.h" #include "inc_types.h" diff --git a/OpenCL/m13772-pure.cl b/OpenCL/m13772-pure.cl index 53cd7038f..015efbdb1 100644 --- a/OpenCL/m13772-pure.cl +++ b/OpenCL/m13772-pure.cl @@ -5,9 +5,6 @@ //#define NEW_SIMD_CODE -#undef LOCAL_MEM_TYPE -#define LOCAL_MEM_TYPE LOCAL_MEM_TYPE_GLOBAL - #ifdef KERNEL_STATIC #include "inc_vendor.h" #include "inc_types.h" diff --git a/OpenCL/m13773-pure.cl b/OpenCL/m13773-pure.cl index a8914c754..cdab3e317 100644 --- a/OpenCL/m13773-pure.cl +++ b/OpenCL/m13773-pure.cl @@ -5,9 +5,6 @@ //#define NEW_SIMD_CODE -#undef LOCAL_MEM_TYPE -#define LOCAL_MEM_TYPE LOCAL_MEM_TYPE_GLOBAL - #ifdef KERNEL_STATIC #include "inc_vendor.h" #include "inc_types.h" diff --git a/OpenCL/m15300-pure.cl b/OpenCL/m15300-pure.cl index d910b7c84..3387aadf9 100644 --- a/OpenCL/m15300-pure.cl +++ b/OpenCL/m15300-pure.cl @@ -5,12 +5,6 @@ #define NEW_SIMD_CODE -// we don't need fast local memory -// it's used in _comp kernel only -// not using it helps some opencl runtimes to survive -#undef LOCAL_MEM_TYPE -#define LOCAL_MEM_TYPE LOCAL_MEM_TYPE_GLOBAL - #ifdef KERNEL_STATIC #include "inc_vendor.h" #include "inc_types.h"