Fixed generic OpenCL code for AMD Navi

This commit is contained in:
SChernykh
2020-02-10 22:00:40 +01:00
parent f3bb3f30e1
commit 4c8413f584
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;
}