From 709cc91efd78855f6423e424daac330d4c283104 Mon Sep 17 00:00:00 2001 From: nicehashdev Date: Thu, 3 Nov 2016 23:47:33 +0100 Subject: [PATCH] bug fixes --- nheqminer/libstratum/ZcashStratum.cpp | 2 +- ocl_xpm/ocl_xpm.vcxproj | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/nheqminer/libstratum/ZcashStratum.cpp b/nheqminer/libstratum/ZcashStratum.cpp index 20aea3386..491f51cba 100644 --- a/nheqminer/libstratum/ZcashStratum.cpp +++ b/nheqminer/libstratum/ZcashStratum.cpp @@ -359,7 +359,7 @@ ZcashMiner::ZcashMiner(int cpu_threads, int if (opencl_t[i] < 1) opencl_t[i] = 1; // add multiple threads if wanted - for (int k = 0; k < opencl_t[i]; ++i) + for (int k = 0; k < opencl_t[i]; ++k) { OPENCLSolver* context = new OPENCLSolver(opencl_platf, opencl_en[i]); // todo: save local&global work size diff --git a/ocl_xpm/ocl_xpm.vcxproj b/ocl_xpm/ocl_xpm.vcxproj index 5825c9ae0..7c2c299c5 100644 --- a/ocl_xpm/ocl_xpm.vcxproj +++ b/ocl_xpm/ocl_xpm.vcxproj @@ -77,7 +77,7 @@ Level3 NotUsing - Disabled + MaxSpeed true true WIN32;NDEBUG;_WINDOWS;_USRDLL;OCL_XPM_EXPORTS;%(PreprocessorDefinitions)