diff options
author | psychocrypt <psychocryptHPC@gmail.com> | 2018-04-16 22:06:38 +0200 |
---|---|---|
committer | Timothy Pearson <tpearson@raptorengineering.com> | 2018-06-04 21:07:11 +0000 |
commit | 114d48a83111e7c64b0c5ba4fb4a0ca4d11d7963 (patch) | |
tree | 9f776067e7e6923df5c6bb0b57715705ddab1b44 /xmrstak/backend/amd/amd_gpu/gpu.cpp | |
parent | 92a1c71273a1e6e8a198232259a46d66e9978dc8 (diff) | |
download | xmr-stak-114d48a83111e7c64b0c5ba4fb4a0ca4d11d7963.zip xmr-stak-114d48a83111e7c64b0c5ba4fb4a0ca4d11d7963.tar.gz |
remove fork for sumokoin and monero
remove fork version for sumokoin and monero7
Diffstat (limited to 'xmrstak/backend/amd/amd_gpu/gpu.cpp')
-rw-r--r-- | xmrstak/backend/amd/amd_gpu/gpu.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/xmrstak/backend/amd/amd_gpu/gpu.cpp b/xmrstak/backend/amd/amd_gpu/gpu.cpp index b3d36e7..03100d0 100644 --- a/xmrstak/backend/amd/amd_gpu/gpu.cpp +++ b/xmrstak/backend/amd/amd_gpu/gpu.cpp @@ -1101,7 +1101,7 @@ size_t XMRSetJob(GpuContext* ctx, uint8_t* input, size_t input_len, uint64_t tar size_t XMRRunJob(GpuContext* ctx, cl_uint* HashOutput, xmrstak_algo miner_algo) { // switch to the kernel storage - int kernel_storage = ::jconf::inst()->GetCurrentCoinSelection().GetDescription(1).GetMiningAlgo() ? 0 : 1; + int kernel_storage = miner_algo == ::jconf::inst()->GetCurrentCoinSelection().GetDescription(1).GetMiningAlgo() ? 0 : 1; cl_int ret; cl_uint zero = 0; |