device/rocm: split gfxVersion to major/minor/stepping
Change-Id: I1e437eaee30794147713d9516229211670f01d90
Este cometimento está contido em:
1 ascendente
c97ef9f84a
cometimento
b4f1239f34
6 ficheiros modificados
+44
-49
Não existem ficheiros que correspondam à sua pesquisa
@@ -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()) {
|
||||
|
||||
Criar uma nova questão referindo esta
Bloquear um utilizador