diff -Nru rocr-runtime-5.2.3/debian/changelog rocr-runtime-5.2.3/debian/changelog --- rocr-runtime-5.2.3/debian/changelog 2023-07-05 18:57:23.000000000 +0000 +++ rocr-runtime-5.2.3/debian/changelog 2023-07-29 21:41:52.000000000 +0000 @@ -1,3 +1,12 @@ +rocr-runtime (5.2.3-5) unstable; urgency=medium + + * Team upload. + + * d/p/0004-extend-isa-compatibility-check.patch: fix assertion when + gfx906 falls back to gfx900. + + -- Cordell Bloor Sat, 29 Jul 2023 15:41:52 -0600 + rocr-runtime (5.2.3-4) unstable; urgency=medium [ Cordell Bloor ] diff -Nru rocr-runtime-5.2.3/debian/patches/0004-extend-isa-compatibility-check.patch rocr-runtime-5.2.3/debian/patches/0004-extend-isa-compatibility-check.patch --- rocr-runtime-5.2.3/debian/patches/0004-extend-isa-compatibility-check.patch 2023-07-05 18:57:23.000000000 +0000 +++ rocr-runtime-5.2.3/debian/patches/0004-extend-isa-compatibility-check.patch 2023-07-29 21:41:52.000000000 +0000 @@ -14,11 +14,11 @@ the infamous HSA_OVERRIDE_GFX_VERSION variable for running compatible binaries. --- - src/core/runtime/isa.cpp | 44 +++++++++++++++++++++++++++++++++++++++++++- - 1 file changed, 43 insertions(+), 1 deletion(-) + src/core/runtime/isa.cpp | 45 +++++++++++++++++++++++++++++++++++++++++++-- + 1 file changed, 43 insertions(+), 2 deletions(-) diff --git a/src/core/runtime/isa.cpp b/src/core/runtime/isa.cpp -index e9a48f3..7edcaab 100755 +index e9a48f3..98e748d 100755 --- a/src/core/runtime/isa.cpp +++ b/src/core/runtime/isa.cpp @@ -43,6 +43,7 @@ @@ -29,7 +29,7 @@ #include #include #include -@@ -69,10 +70,51 @@ bool Wavefront::GetInfo( +@@ -69,13 +70,53 @@ bool Wavefront::GetInfo( } } @@ -81,4 +81,7 @@ + if (!IsVersionCompatible(code_object_isa, agent_isa)) return false; - assert(code_object_isa.IsSrameccSupported() == agent_isa.IsSrameccSupported() && agent_isa.GetSramecc() != IsaFeature::Any); +- assert(code_object_isa.IsSrameccSupported() == agent_isa.IsSrameccSupported() && agent_isa.GetSramecc() != IsaFeature::Any); + if ((code_object_isa.GetSramecc() == IsaFeature::Enabled || + code_object_isa.GetSramecc() == IsaFeature::Disabled) && + code_object_isa.GetSramecc() != agent_isa.GetSramecc())