diff options
author | fireice-uk <fireice-uk@users.noreply.github.com> | 2018-04-09 16:41:07 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-04-09 16:41:07 +0100 |
commit | ed6513aa5f0c652bb9f7864da892e7c1df02230b (patch) | |
tree | 0c430c81d5191f0b70289887ed3e15e8848abc27 /xmrstak/backend/amd/minethd.cpp | |
parent | 100b0da790870932c8416c271b6630bf36b89ad0 (diff) | |
parent | a57976439b1322eecb5e29198f3d9676d6f06909 (diff) | |
download | xmr-stak-ed6513aa5f0c652bb9f7864da892e7c1df02230b.zip xmr-stak-ed6513aa5f0c652bb9f7864da892e7c1df02230b.tar.gz |
Merge pull request #1372 from psychocrypt/topic-amdForkSimple
amd simplify kernel for different algorithms
Diffstat (limited to 'xmrstak/backend/amd/minethd.cpp')
-rw-r--r-- | xmrstak/backend/amd/minethd.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/xmrstak/backend/amd/minethd.cpp b/xmrstak/backend/amd/minethd.cpp index cab5ad9..f15b480 100644 --- a/xmrstak/backend/amd/minethd.cpp +++ b/xmrstak/backend/amd/minethd.cpp @@ -233,7 +233,7 @@ void minethd::work_main() assert(sizeof(job_result::sJobID) == sizeof(pool_job::sJobID)); uint64_t target = oWork.iTarget; - XMRSetJob(pGpuCtx, oWork.bWorkBlob, oWork.iWorkSize, target, miner_algo, version); + XMRSetJob(pGpuCtx, oWork.bWorkBlob, oWork.iWorkSize, target, miner_algo); if(oWork.bNiceHash) pGpuCtx->Nonce = *(uint32_t*)(oWork.bWorkBlob + 39); @@ -249,7 +249,7 @@ void minethd::work_main() cl_uint results[0x100]; memset(results,0,sizeof(cl_uint)*(0x100)); - XMRRunJob(pGpuCtx, results, miner_algo, version); + XMRRunJob(pGpuCtx, results, miner_algo); for(size_t i = 0; i < results[0xFF]; i++) { |