From 12802f12e30f57c2a9eefca2c1a5955275c95127 Mon Sep 17 00:00:00 2001 From: psychocrypt Date: Thu, 26 Oct 2017 20:58:27 +0200 Subject: rename `xmr` to `monero` - rename all `xmr` to `monero` - be insensitive while check for set currency - add function to compate two strings insensitive --- xmrstak/backend/amd/amd_gpu/gpu.cpp | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'xmrstak/backend/amd/amd_gpu') diff --git a/xmrstak/backend/amd/amd_gpu/gpu.cpp b/xmrstak/backend/amd/amd_gpu/gpu.cpp index 845d32c..22ce5d0 100644 --- a/xmrstak/backend/amd/amd_gpu/gpu.cpp +++ b/xmrstak/backend/amd/amd_gpu/gpu.cpp @@ -13,8 +13,8 @@ * along with this program. If not, see . */ -#include "../../cryptonight.hpp" -#include "../../../jconf.hpp" +#include "xmrstak/backend/cryptonight.hpp" +#include "xmrstak/jconf.hpp" #include #include @@ -251,11 +251,11 @@ size_t InitOpenCLGpu(cl_context opencl_ctx, GpuContext* ctx, const char* source_ size_t hashMemSize; int threadMemMask; int hasIterations; - if(::jconf::inst()->IsCurrencyXMR()) + if(::jconf::inst()->IsCurrencyMonero()) { - hashMemSize = XMR_MEMORY; - threadMemMask = XMR_MASK; - hasIterations = XMR_ITER; + hashMemSize = MONERO_MEMORY; + threadMemMask = MONERO_MASK; + hasIterations = MONERO_ITER; } else { -- cgit v1.1