Skip to content

Commit

Permalink
Fixes path for CL kernel.
Browse files Browse the repository at this point in the history
  • Loading branch information
protovist committed Feb 8, 2018
1 parent 3d4fb2f commit 2b341e8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions GpuMiner/MinerEngine/CLMiner.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ using namespace XDag;

unsigned CLMiner::_sWorkgroupSize = CLMiner::_defaultLocalWorkSize;
unsigned CLMiner::_sInitialGlobalWorkSize = CLMiner::_defaultGlobalWorkSizeMultiplier * CLMiner::_defaultLocalWorkSize;
std::string CLMiner::_clKernelName = "CLMiner_kernel.cl";
std::string CLMiner::_clKernelName = "CL/CLMiner_kernel.cl";
bool CLMiner::_useOpenClCpu = false;

struct CLChannel : public LogChannel
Expand Down Expand Up @@ -750,4 +750,4 @@ void CLMiner::WriteKernelArgs(XTaskWrapper* taskWrapper, uint64_t* zeroBuffer)
_searchKernel.setArg(KERNEL_ARG_TARGET_H, ((uint32_t*)taskWrapper->GetTask()->minhash.data)[7]);
_searchKernel.setArg(KERNEL_ARG_TARGET_G, ((uint32_t*)taskWrapper->GetTask()->minhash.data)[6]);
_searchKernel.setArg(KERNEL_ARG_OUTPUT, _searchBuffer); // Supply output buffer to kernel
}
}

0 comments on commit 2b341e8

Please sign in to comment.