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;
}