summaryrefslogtreecommitdiffstats
path: root/xmrstak/backend/amd/minethd.cpp
diff options
context:
space:
mode:
authorfireice-uk <fireice-uk@users.noreply.github.com>2018-04-09 16:41:07 +0100
committerGitHub <noreply@github.com>2018-04-09 16:41:07 +0100
commited6513aa5f0c652bb9f7864da892e7c1df02230b (patch)
tree0c430c81d5191f0b70289887ed3e15e8848abc27 /xmrstak/backend/amd/minethd.cpp
parent100b0da790870932c8416c271b6630bf36b89ad0 (diff)
parenta57976439b1322eecb5e29198f3d9676d6f06909 (diff)
downloadxmr-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.cpp4
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++)
{
OpenPOWER on IntegriCloud