Skip to content

Commit

Permalink
Merge pull request #36 from luminousmining/feat/progpow_fp16
Browse files Browse the repository at this point in the history
improve perf progpow and derived with cl_khr_fp16
  • Loading branch information
luminousmining authored Mar 29, 2024
2 parents 1fadd86 + a846e40 commit be59850
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions miner/sources/resolver/amd/progpow.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -266,6 +266,11 @@ bool resolver::ResolverAmdProgPOW::buildSearch()
case algo::progpow::VERSION::FIROPOW: kernelDerived.assign("firopow_functions.cl"); break;
case algo::progpow::VERSION::EVRPROGPOW: kernelDerived.assign("evrprogpow_functions.cl"); break;
}

////////////////////////////////////////////////////////////////////////////
kernelGenerator.appendLine("#pragma OPENCL EXTENSION cl_khr_fp16 : enable");

////////////////////////////////////////////////////////////////////////////
if ( false == kernelGenerator.appendFile("kernel/progpow/progpow_result.cl")
|| false == kernelGenerator.appendFile("kernel/progpow/" + kernelDerived)
|| false == kernelGenerator.appendFile(fileSequenceMathPeriod)
Expand Down

0 comments on commit be59850

Please sign in to comment.