Skip to content
This repository has been archived by the owner on Jan 9, 2021. It is now read-only.

Commit

Permalink
bug fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
nicehashdev committed Nov 3, 2016
1 parent 71f128e commit 709cc91
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion nheqminer/libstratum/ZcashStratum.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -359,7 +359,7 @@ ZcashMiner<CPUSolver, CUDASolver, OPENCLSolver>::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
Expand Down
2 changes: 1 addition & 1 deletion ocl_xpm/ocl_xpm.vcxproj
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@
<ClCompile>
<WarningLevel>Level3</WarningLevel>
<PrecompiledHeader>NotUsing</PrecompiledHeader>
<Optimization>Disabled</Optimization>
<Optimization>MaxSpeed</Optimization>
<FunctionLevelLinking>true</FunctionLevelLinking>
<IntrinsicFunctions>true</IntrinsicFunctions>
<PreprocessorDefinitions>WIN32;NDEBUG;_WINDOWS;_USRDLL;OCL_XPM_EXPORTS;%(PreprocessorDefinitions)</PreprocessorDefinitions>
Expand Down

0 comments on commit 709cc91

Please sign in to comment.