SWDEV-268864 - Use new isa class to access isa related information (part 2)

Change-Id: If7ed535b3012aec3f2cb4eb7ab93d8f5aed9783f
このコミットが含まれているのは:
Tony Tye
2021-01-19 03:36:22 +00:00
コミット 040bc455d4
2個のファイルの変更5行の追加5行の削除
+2 -2
ファイルの表示
@@ -329,10 +329,10 @@ hipError_t ihipOccupancyMaxActiveBlocksPerMultiprocessor(
size_t GprWaves = VgprWaves;
if (wrkGrpInfo->usedSGPRs_ > 0) {
size_t maxSGPRs;
if (device.info().gfxipMajor_ < 8) {
if (device.isa().versionMajor() < 8) {
maxSGPRs = 512;
}
else if (device.info().gfxipMajor_ < 10) {
else if (device.isa().versionMajor() < 10) {
maxSGPRs = 800;
}
else {