1
0
mirror of https://github.com/xmrig/xmrig.git synced 2025-12-26 14:02:53 -05:00

Fixed generic OpenCL code for AMD Navi

This commit is contained in:
SChernykh
2020-02-10 22:00:40 +01:00
parent aacdbc360b
commit ef629ba0d0
5 changed files with 1969 additions and 1949 deletions

View File

@@ -107,6 +107,14 @@ static OclDevice::Type getType(const String &name)
return OclDevice::Navi_10;
}
if (name == "gfx1011") {
return OclDevice::Navi_12;
}
if (name == "gfx1012") {
return OclDevice::Navi_14;
}
if (name == "gfx804") {
return OclDevice::Lexa;
}

View File

@@ -56,7 +56,9 @@ public:
Vega_10,
Vega_20,
Raven,
Navi_10
Navi_10,
Navi_12,
Navi_14
};
OclDevice() = delete;