From 00bb7d41798f1d4b69830bef4d63dcf9d99ecc10 Mon Sep 17 00:00:00 2001 From: Eric Huang Date: Wed, 7 Apr 2021 10:17:05 -0400 Subject: [PATCH] kfdtest: remove scc bit for cache coherence tests It is to address gfx90a HW memory model changes. Signed-off-by: Eric Huang Change-Id: Ie5c5c5ee5ddfb75c0b4f625baf59ce37b4cc7c31 [ROCm/ROCR-Runtime commit: a6703395f6572f70ba99e2af86e80c945c3dbaae] --- projects/rocr-runtime/tests/kfdtest/src/KFDMemoryTest.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/projects/rocr-runtime/tests/kfdtest/src/KFDMemoryTest.cpp b/projects/rocr-runtime/tests/kfdtest/src/KFDMemoryTest.cpp index 7b1e18a5f9..fdbd5539c1 100644 --- a/projects/rocr-runtime/tests/kfdtest/src/KFDMemoryTest.cpp +++ b/projects/rocr-runtime/tests/kfdtest/src/KFDMemoryTest.cpp @@ -308,7 +308,7 @@ type(CS)\n\ v_mov_b32 v1, s1\n\ v_mov_b32 v18, 0x1\n\ LOOP:\n\ - flat_load_dword v16, v[0:1] scc:1\n\ + flat_load_dword v16, v[0:1] glc\n\ s_waitcnt vmcnt(0) & lgkmcnt(0)\n\ v_cmp_eq_i32 vcc, v16, v18\n\ s_cbranch_vccz LOOP\n\ @@ -345,7 +345,7 @@ type(CS)\n\ buffer_wbl2\n\ s_waitcnt vmcnt(0) & lgkmcnt(0)\n\ v_mov_b32 v16, 0x1\n\ - flat_store_dword v[0:1], v16 scc:1\n\ + flat_store_dword v[0:1], v16 glc\n\ s_endpgm\n\ end\n\ ";