Skip to content

Commit

Permalink
Use GCN1.4 code for Radeon VII
Browse files Browse the repository at this point in the history
  • Loading branch information
SChernykh committed Sep 5, 2019
1 parent e10ff55 commit 5448d2d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion RandomX_OpenCL/miner.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ bool test_mining(uint32_t platform_id, uint32_t device_id, size_t intensity, uin

std::vector<char> t;
std::transform(ctx.device_name.begin(), ctx.device_name.end(), std::back_inserter(t), [](char c) { return static_cast<char>(std::toupper(c)); });
if (strcmp(t.data(), "GFX900") == 0)
if ((strcmp(t.data(), "GFX900") == 0) || (strcmp(t.data(), "GFX906") == 0))
{
gcn_binary = "randomx_run_gfx900.bin";
gcn_version = 14;
Expand Down

0 comments on commit 5448d2d

Please sign in to comment.