Skip to content

Commit

Permalink
Merge pull request ethereum-mining#2038 from hackmod/mesa-clover
Browse files Browse the repository at this point in the history
set PLATFORM correctly.
  • Loading branch information
jean-m-cyr authored Jan 1, 2021
2 parents aaec223 + 6a8ed69 commit 3a81f1d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion libethash-cl/CLMiner.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -768,7 +768,7 @@ bool CLMiner::initEpoch_internal()
addDefinition(code, "WORKSIZE", m_settings.localWorkSize);
addDefinition(code, "ACCESSES", 64);
addDefinition(code, "MAX_OUTPUTS", c_maxSearchResults);
addDefinition(code, "PLATFORM", m_deviceDescriptor.clPlatformId);
addDefinition(code, "PLATFORM", static_cast<unsigned>(m_deviceDescriptor.clPlatformType));
addDefinition(code, "COMPUTE", computeCapability);

if (m_deviceDescriptor.clPlatformType == ClPlatformTypeEnum::Clover)
Expand Down

0 comments on commit 3a81f1d

Please sign in to comment.