kfdtest: Disable host access for VRAM
KFDExceptionTest.SdmaQueueException allocates VRAM with host access. This fails on small-BAR GPUs. This error was incorrectly ignored before7ccda4ba26("kfdtest: Full TearDown and SetUp in child process"). The test doesn't really need host access to the memory. Therefore the fix is to disable the HostAccess flag. Signed-off-by: Felix Kuehling <Felix.Kuehling@amd.com> Change-Id: Ifec279eeb6c1ecb1160db9b692e6dc8816d761a3 [ROCm/ROCR-Runtime commit:9d33827a84]
Цей коміт міститься в:
@@ -317,6 +317,7 @@ TEST_F(KFDExceptionTest, SdmaQueueException) {
|
||||
KFDBaseComponentTest::SetUp();
|
||||
|
||||
m_MemoryFlags.ui32.NonPaged = 1;
|
||||
m_MemoryFlags.ui32.HostAccess = 0;
|
||||
ASSERT_SUCCESS(hsaKmtAllocMemory(defaultGPUNode, PAGE_SIZE, m_MemoryFlags,
|
||||
reinterpret_cast<void**>(&pDb)));
|
||||
// verify that pDb is not null before it's being used
|
||||
|
||||
Посилання в новій задачі
Заблокувати користувача