From c5e5d63c9885f62c72fecd058b83091ce16c8fc0 Mon Sep 17 00:00:00 2001 From: philsmd Date: Mon, 30 May 2022 17:07:07 +0200 Subject: [PATCH] radmin 3: update comment about PRECOMP_DATALEN size --- OpenCL/m29200_a0-pure.cl | 2 +- OpenCL/m29200_a1-pure.cl | 2 +- OpenCL/m29200_a3-pure.cl | 2 +- src/modules/module_29200.c | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/OpenCL/m29200_a0-pure.cl b/OpenCL/m29200_a0-pure.cl index 1f540c3a5..8d88f0cff 100644 --- a/OpenCL/m29200_a0-pure.cl +++ b/OpenCL/m29200_a0-pure.cl @@ -25,7 +25,7 @@ typedef struct radmin3 u32 user[64]; u32 user_len; - u32 pre[PRECOMP_DATALEN]; // 38400 for PRECOMP_BITS = 4 + u32 pre[PRECOMP_DATALEN]; // 1047552 * 4 bytes for PRECOMP_BITS = 10 } radmin3_t; diff --git a/OpenCL/m29200_a1-pure.cl b/OpenCL/m29200_a1-pure.cl index b9a9f0da7..cd4ffb271 100644 --- a/OpenCL/m29200_a1-pure.cl +++ b/OpenCL/m29200_a1-pure.cl @@ -24,7 +24,7 @@ typedef struct radmin3 u32 user[64]; u32 user_len; - u32 pre[PRECOMP_DATALEN]; // 38400 for PRECOMP_BITS = 4 + u32 pre[PRECOMP_DATALEN]; // 1047552 * 4 bytes for PRECOMP_BITS = 10 } radmin3_t; diff --git a/OpenCL/m29200_a3-pure.cl b/OpenCL/m29200_a3-pure.cl index b4fdd0407..0825896b1 100644 --- a/OpenCL/m29200_a3-pure.cl +++ b/OpenCL/m29200_a3-pure.cl @@ -23,7 +23,7 @@ typedef struct radmin3 u32 user[64]; u32 user_len; - u32 pre[PRECOMP_DATALEN]; // 38400 for PRECOMP_BITS = 4 + u32 pre[PRECOMP_DATALEN]; // 1047552 * 4 bytes for PRECOMP_BITS = 10 } radmin3_t; diff --git a/src/modules/module_29200.c b/src/modules/module_29200.c index 48ca6c63d..83fb6a687 100644 --- a/src/modules/module_29200.c +++ b/src/modules/module_29200.c @@ -58,7 +58,7 @@ typedef struct radmin3 u32 user[64]; u32 user_len; - u32 pre[PRECOMP_DATALEN]; // 38400 for PRECOMP_BITS = 4 + u32 pre[PRECOMP_DATALEN]; // 1047552 * 4 bytes for PRECOMP_BITS = 10 } radmin3_t;