device/rocm: split gfxVersion to major/minor/stepping

Change-Id: I1e437eaee30794147713d9516229211670f01d90
이 커밋은 다음에 포함됨:
Jason Tang 작성하고 Jason Tang가 2020-05-12 12:17:13 -04:00를 커밋함
1 부모 c97ef9f84a
커밋 b4f1239f34
6 파일이 변경됨
+44 -49

검색과 일치하는 파일 없음

+1 -1
파일 보기
@@ -430,7 +430,7 @@ PerfCounter::PerfCounter(const Device& device, //!< A ROC device object
info_.eventIndex_ = eventIndex; // Counter Event Selection (counter_id)
// these block indices are valid for the SI (Gfx8) & Gfx9 devices
switch (roc_device_.deviceInfo().gfxipVersion_ / 100) {
switch (roc_device_.deviceInfo().gfxipMajor_) {
case (8):
gfxVersion_ = ROC_GFX8;
if (blockIndex < viBlockIdOrcaToRocr.size()) {