mirror of
https://github.com/xmrig/xmrig.git
synced 2025-02-02 03:06:30 +00:00
Add Ellesmere correctly (still just a Polaris alias)
This commit is contained in:
parent
cb8fc26cbe
commit
f0d80326ec
4 changed files with 8 additions and 1 deletions
|
@ -53,6 +53,7 @@ bool ocl_generic_rx_generator(const OclDevice &device, const Algorithm &algorith
|
|||
|
||||
switch (device.type()) {
|
||||
case OclDevice::Baffin:
|
||||
case OclDevice::Ellesmere:
|
||||
case OclDevice::Polaris:
|
||||
case OclDevice::Lexa:
|
||||
case OclDevice::Vega_10:
|
||||
|
|
|
@ -46,6 +46,7 @@ xmrig::OclAstroBWTRunner::OclAstroBWTRunner(size_t index, const OclLaunchData &d
|
|||
switch (data.device.type())
|
||||
{
|
||||
case OclDevice::Baffin:
|
||||
case OclDevice::Ellesmere:
|
||||
case OclDevice::Polaris:
|
||||
case OclDevice::Lexa:
|
||||
case OclDevice::Vega_10:
|
||||
|
|
|
@ -224,7 +224,11 @@ static OclDevice::Type getType(const String &name, const OclVendor platformVendo
|
|||
return OclDevice::Baffin;
|
||||
}
|
||||
|
||||
if (name == "gfx803" || name.contains("polaris") || name == "Ellesmere") {
|
||||
if (name.contains("Ellesmere")) {
|
||||
return OclDevice::Ellesmere;
|
||||
}
|
||||
|
||||
if (name == "gfx803" || name.contains("polaris")) {
|
||||
return OclDevice::Polaris;
|
||||
}
|
||||
|
||||
|
|
|
@ -45,6 +45,7 @@ public:
|
|||
enum Type {
|
||||
Unknown,
|
||||
Baffin,
|
||||
Ellesmere,
|
||||
Polaris,
|
||||
Lexa,
|
||||
Vega_10,
|
||||
|
|
Loading…
Reference in a new issue