From 3560adf58cde30fb66e704323deae20c399dab06 Mon Sep 17 00:00:00 2001 From: David Francis Date: Wed, 1 Feb 2023 10:05:47 -0500 Subject: [PATCH] kfdtest: Deprecate PollNCMemoryIsa Even with the restriction to only compile on gfx90a, this shader still fails CompileShaders test. There don't seem to be any systems that actually use it. Leave it in the shader store, but remove it otherwise Signed-off-by: David Francis Change-Id: I41bec6ba10363d42b163ac101c3a92edaad6d6df [ROCm/ROCR-Runtime commit: 16c65303304b6026e2e04877cd9bc36044f80977] --- .../rocr-runtime/tests/kfdtest/src/KFDMemoryTest.cpp | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) diff --git a/projects/rocr-runtime/tests/kfdtest/src/KFDMemoryTest.cpp b/projects/rocr-runtime/tests/kfdtest/src/KFDMemoryTest.cpp index 3e0612aa05..30327f0c17 100644 --- a/projects/rocr-runtime/tests/kfdtest/src/KFDMemoryTest.cpp +++ b/projects/rocr-runtime/tests/kfdtest/src/KFDMemoryTest.cpp @@ -176,14 +176,7 @@ TEST_F(KFDMemoryTest, MapUnmapToNodes) { HsaMemoryBuffer srcBuffer(PAGE_SIZE, defaultGPUNode); HsaMemoryBuffer dstBuffer(PAGE_SIZE, defaultGPUNode); - const char *pReadMemory; - if (m_NodeInfo.IsNodeXGMItoCPU(defaultGPUNode) && (m_FamilyId != FAMILY_AL)) - /* On A+A system memory is mapped as NC */ - pReadMemory = PollNCMemoryIsa; - else - pReadMemory = PollMemoryIsa; - - ASSERT_SUCCESS(m_pAsm->RunAssembleBuf(pReadMemory, isaBuffer.As())); + ASSERT_SUCCESS(m_pAsm->RunAssembleBuf(PollMemoryIsa, isaBuffer.As())); PM4Queue pm4Queue; ASSERT_SUCCESS(pm4Queue.Create(defaultGPUNode));