SWDEV-460151 - add gfx1201 to amd-staging clr (#183)
* SWDEV-460151 - add gfx1201 to amd-staging clr
* SWDEV-460151 - removed pal macro
---------
Co-authored-by: Jimbo Xie <jiabaxie@amd.com>
[ROCm/clr commit: a5d932f160]
Bu işleme şunda yer alıyor:
işlemeyi yapan:
GitHub
ebeveyn
a777d6eca0
işleme
e5226f2b7e
@@ -102,6 +102,7 @@ static constexpr PalDevice supportedPalDevices[] = {
|
|||||||
{11, 0, 3, Pal::GfxIpLevel::GfxIp11_0, "gfx1103", Pal::AsicRevision::HawkPoint2},
|
{11, 0, 3, Pal::GfxIpLevel::GfxIp11_0, "gfx1103", Pal::AsicRevision::HawkPoint2},
|
||||||
{11, 5, 0, Pal::GfxIpLevel::GfxIp11_5, "gfx1150", Pal::AsicRevision::Strix1},
|
{11, 5, 0, Pal::GfxIpLevel::GfxIp11_5, "gfx1150", Pal::AsicRevision::Strix1},
|
||||||
{11, 5, 1, Pal::GfxIpLevel::GfxIp11_5, "gfx1151", Pal::AsicRevision::StrixHalo},
|
{11, 5, 1, Pal::GfxIpLevel::GfxIp11_5, "gfx1151", Pal::AsicRevision::StrixHalo},
|
||||||
|
{12, 0, 1, Pal::GfxIpLevel::GfxIp12, "gfx1201", Pal::AsicRevision::Navi48},
|
||||||
};
|
};
|
||||||
|
|
||||||
static std::tuple<const amd::Isa*, const char*> findIsa(uint32_t gfxipMajor, uint32_t gfxipMinor,
|
static std::tuple<const amd::Isa*, const char*> findIsa(uint32_t gfxipMajor, uint32_t gfxipMinor,
|
||||||
|
|||||||
@@ -161,6 +161,8 @@ bool Settings::create(const Pal::DeviceProperties& palProp,
|
|||||||
amd::Os::getAppPathAndFileName(appName, appPathAndName);
|
amd::Os::getAppPathAndFileName(appName, appPathAndName);
|
||||||
|
|
||||||
switch (palProp.revision) {
|
switch (palProp.revision) {
|
||||||
|
// Fall through for Navi4x ...
|
||||||
|
case Pal::AsicRevision::Navi48:
|
||||||
// Fall through for Navi3x ...
|
// Fall through for Navi3x ...
|
||||||
case Pal::AsicRevision::Navi33:
|
case Pal::AsicRevision::Navi33:
|
||||||
case Pal::AsicRevision::Navi32:
|
case Pal::AsicRevision::Navi32:
|
||||||
|
|||||||
Yeni konuda referans
Bir kullanıcı engelle