From 3387f48b5625a214bdfc1778ed080abaa5fc6504 Mon Sep 17 00:00:00 2001 From: Konstantin Zhuravlyov Date: Wed, 30 Oct 2024 15:33:36 -0400 Subject: [PATCH] SWDEV-428601 - Don't enforce 1 isa per device in rocm backend - Device can have multiple isas as per HSA spec - First isa is most specific one, so this change is sort of a NOP Change-Id: Ib332af21745f2e6a7c25db8986bf7717501059bc --- rocclr/device/rocm/rocdevice.cpp | 5 ----- 1 file changed, 5 deletions(-) diff --git a/rocclr/device/rocm/rocdevice.cpp b/rocclr/device/rocm/rocdevice.cpp index 648dfd217d..75687e7554 100644 --- a/rocclr/device/rocm/rocdevice.cpp +++ b/rocclr/device/rocm/rocdevice.cpp @@ -674,11 +674,6 @@ bool Device::create() { pciDeviceId_); return false; } - if (agent_isas.count != 1) { - LogPrintfError("HSA device %s (PCI ID %x) has %u ISAs but can only support a single ISA", - agent_name, pciDeviceId_, agent_isas.count); - return false; - } uint32_t isa_name_length = 0; if (HSA_STATUS_SUCCESS !=