From aee076242436c10f6b98ea5b6d4f009a1547d573 Mon Sep 17 00:00:00 2001 From: XMRig Date: Wed, 11 Aug 2021 16:27:36 +0700 Subject: [PATCH] Fix typo. --- src/backend/opencl/cl/cn/algorithm.cl | 4 ++-- src/backend/opencl/cl/cn/cryptonight_cl.h | 4 ++-- src/backend/opencl/cl/rx/randomx_cl.h | 4 ++-- src/base/crypto/Algorithm.h | 4 ++-- 4 files changed, 8 insertions(+), 8 deletions(-) diff --git a/src/backend/opencl/cl/cn/algorithm.cl b/src/backend/opencl/cl/cn/algorithm.cl index 23437aa9b..6253f40cf 100644 --- a/src/backend/opencl/cl/cn/algorithm.cl +++ b/src/backend/opencl/cl/cn/algorithm.cl @@ -33,8 +33,8 @@ #define FAMILY_CN 0x63150000 #define FAMILY_CN_LITE 0x63140000 #define FAMILY_CN_HEAVY 0x63160000 -#define FAMILY_CN_PICO 0x63120200 -#define FAMILY_CN_FEMTO 0x63110200 +#define FAMILY_CN_PICO 0x63120000 +#define FAMILY_CN_FEMTO 0x63110000 #define FAMILY_RANDOM_X 0x72000000 #define FAMILY_ARGON2 0x61000000 #define FAMILY_ASTROBWT 0x41000000 diff --git a/src/backend/opencl/cl/cn/cryptonight_cl.h b/src/backend/opencl/cl/cn/cryptonight_cl.h index fbfa8ec63..9ddaeb7eb 100644 --- a/src/backend/opencl/cl/cn/cryptonight_cl.h +++ b/src/backend/opencl/cl/cn/cryptonight_cl.h @@ -42,8 +42,8 @@ static const char cryptonight_cl[61406] = { 0x30,0x0a,0x23,0x64,0x65,0x66,0x69,0x6e,0x65,0x20,0x46,0x41,0x4d,0x49,0x4c,0x59,0x5f,0x43,0x4e,0x5f,0x4c,0x49,0x54,0x45,0x20,0x30,0x78,0x36,0x33,0x31,0x34,0x30, 0x30,0x30,0x30,0x0a,0x23,0x64,0x65,0x66,0x69,0x6e,0x65,0x20,0x46,0x41,0x4d,0x49,0x4c,0x59,0x5f,0x43,0x4e,0x5f,0x48,0x45,0x41,0x56,0x59,0x20,0x30,0x78,0x36,0x33, 0x31,0x36,0x30,0x30,0x30,0x30,0x0a,0x23,0x64,0x65,0x66,0x69,0x6e,0x65,0x20,0x46,0x41,0x4d,0x49,0x4c,0x59,0x5f,0x43,0x4e,0x5f,0x50,0x49,0x43,0x4f,0x20,0x30,0x78, - 0x36,0x33,0x31,0x32,0x30,0x32,0x30,0x30,0x0a,0x23,0x64,0x65,0x66,0x69,0x6e,0x65,0x20,0x46,0x41,0x4d,0x49,0x4c,0x59,0x5f,0x43,0x4e,0x5f,0x46,0x45,0x4d,0x54,0x4f, - 0x20,0x30,0x78,0x36,0x33,0x31,0x31,0x30,0x32,0x30,0x30,0x0a,0x23,0x64,0x65,0x66,0x69,0x6e,0x65,0x20,0x46,0x41,0x4d,0x49,0x4c,0x59,0x5f,0x52,0x41,0x4e,0x44,0x4f, + 0x36,0x33,0x31,0x32,0x30,0x30,0x30,0x30,0x0a,0x23,0x64,0x65,0x66,0x69,0x6e,0x65,0x20,0x46,0x41,0x4d,0x49,0x4c,0x59,0x5f,0x43,0x4e,0x5f,0x46,0x45,0x4d,0x54,0x4f, + 0x20,0x30,0x78,0x36,0x33,0x31,0x31,0x30,0x30,0x30,0x30,0x0a,0x23,0x64,0x65,0x66,0x69,0x6e,0x65,0x20,0x46,0x41,0x4d,0x49,0x4c,0x59,0x5f,0x52,0x41,0x4e,0x44,0x4f, 0x4d,0x5f,0x58,0x20,0x30,0x78,0x37,0x32,0x30,0x30,0x30,0x30,0x30,0x30,0x0a,0x23,0x64,0x65,0x66,0x69,0x6e,0x65,0x20,0x46,0x41,0x4d,0x49,0x4c,0x59,0x5f,0x41,0x52, 0x47,0x4f,0x4e,0x32,0x20,0x30,0x78,0x36,0x31,0x30,0x30,0x30,0x30,0x30,0x30,0x0a,0x23,0x64,0x65,0x66,0x69,0x6e,0x65,0x20,0x46,0x41,0x4d,0x49,0x4c,0x59,0x5f,0x41, 0x53,0x54,0x52,0x4f,0x42,0x57,0x54,0x20,0x30,0x78,0x34,0x31,0x30,0x30,0x30,0x30,0x30,0x30,0x0a,0x23,0x64,0x65,0x66,0x69,0x6e,0x65,0x20,0x46,0x41,0x4d,0x49,0x4c, diff --git a/src/backend/opencl/cl/rx/randomx_cl.h b/src/backend/opencl/cl/rx/randomx_cl.h index d3322bd3d..67ecd346a 100644 --- a/src/backend/opencl/cl/rx/randomx_cl.h +++ b/src/backend/opencl/cl/rx/randomx_cl.h @@ -38,8 +38,8 @@ static const char randomx_cl[129288] = { 0x43,0x4e,0x20,0x30,0x78,0x36,0x33,0x31,0x35,0x30,0x30,0x30,0x30,0x0a,0x23,0x64,0x65,0x66,0x69,0x6e,0x65,0x20,0x46,0x41,0x4d,0x49,0x4c,0x59,0x5f,0x43,0x4e,0x5f, 0x4c,0x49,0x54,0x45,0x20,0x30,0x78,0x36,0x33,0x31,0x34,0x30,0x30,0x30,0x30,0x0a,0x23,0x64,0x65,0x66,0x69,0x6e,0x65,0x20,0x46,0x41,0x4d,0x49,0x4c,0x59,0x5f,0x43, 0x4e,0x5f,0x48,0x45,0x41,0x56,0x59,0x20,0x30,0x78,0x36,0x33,0x31,0x36,0x30,0x30,0x30,0x30,0x0a,0x23,0x64,0x65,0x66,0x69,0x6e,0x65,0x20,0x46,0x41,0x4d,0x49,0x4c, - 0x59,0x5f,0x43,0x4e,0x5f,0x50,0x49,0x43,0x4f,0x20,0x30,0x78,0x36,0x33,0x31,0x32,0x30,0x32,0x30,0x30,0x0a,0x23,0x64,0x65,0x66,0x69,0x6e,0x65,0x20,0x46,0x41,0x4d, - 0x49,0x4c,0x59,0x5f,0x43,0x4e,0x5f,0x46,0x45,0x4d,0x54,0x4f,0x20,0x30,0x78,0x36,0x33,0x31,0x31,0x30,0x32,0x30,0x30,0x0a,0x23,0x64,0x65,0x66,0x69,0x6e,0x65,0x20, + 0x59,0x5f,0x43,0x4e,0x5f,0x50,0x49,0x43,0x4f,0x20,0x30,0x78,0x36,0x33,0x31,0x32,0x30,0x30,0x30,0x30,0x0a,0x23,0x64,0x65,0x66,0x69,0x6e,0x65,0x20,0x46,0x41,0x4d, + 0x49,0x4c,0x59,0x5f,0x43,0x4e,0x5f,0x46,0x45,0x4d,0x54,0x4f,0x20,0x30,0x78,0x36,0x33,0x31,0x31,0x30,0x30,0x30,0x30,0x0a,0x23,0x64,0x65,0x66,0x69,0x6e,0x65,0x20, 0x46,0x41,0x4d,0x49,0x4c,0x59,0x5f,0x52,0x41,0x4e,0x44,0x4f,0x4d,0x5f,0x58,0x20,0x30,0x78,0x37,0x32,0x30,0x30,0x30,0x30,0x30,0x30,0x0a,0x23,0x64,0x65,0x66,0x69, 0x6e,0x65,0x20,0x46,0x41,0x4d,0x49,0x4c,0x59,0x5f,0x41,0x52,0x47,0x4f,0x4e,0x32,0x20,0x30,0x78,0x36,0x31,0x30,0x30,0x30,0x30,0x30,0x30,0x0a,0x23,0x64,0x65,0x66, 0x69,0x6e,0x65,0x20,0x46,0x41,0x4d,0x49,0x4c,0x59,0x5f,0x41,0x53,0x54,0x52,0x4f,0x42,0x57,0x54,0x20,0x30,0x78,0x34,0x31,0x30,0x30,0x30,0x30,0x30,0x30,0x0a,0x23, diff --git a/src/base/crypto/Algorithm.h b/src/base/crypto/Algorithm.h index be419818f..ce7ff0668 100644 --- a/src/base/crypto/Algorithm.h +++ b/src/base/crypto/Algorithm.h @@ -83,8 +83,8 @@ public: CN = 0x63150000, CN_LITE = 0x63140000, CN_HEAVY = 0x63160000, - CN_PICO = 0x63120200, - CN_FEMTO = 0x63110200, + CN_PICO = 0x63120000, + CN_FEMTO = 0x63110000, RANDOM_X = 0x72000000, ARGON2 = 0x61000000, ASTROBWT = 0x41000000,