Refactor: Change canonize method accessing point

Accessing canonize method as a member of GmmHelper class object

Related-To: NEO-6523
Signed-off-by: Krzysztof Gibala <krzysztof.gibala@intel.com>
This commit is contained in:
Krzysztof Gibala
2022-04-29 13:28:15 +00:00
committed by Compute-Runtime-Automation
parent b42a49eb4b
commit 1c366d1ec0
21 changed files with 210 additions and 130 deletions

View File

@@ -1952,7 +1952,8 @@ TEST_F(DebugSessionRegistersAccessTest, WhenReadingSbaRegistersThenCorrectAddres
scratchAllocationBase = sbaExpected[ZET_DEBUG_SBA_SCRATCH_SPACE_INTEL_GPU];
uint64_t scratchAllocationBase2 = (1ULL << 47) + 0x12000u;
auto scratchAllocationBase2Canonized = NEO::GmmHelper::canonize(scratchAllocationBase2);
auto gmmHelper = neoDevice->getGmmHelper();
auto scratchAllocationBase2Canonized = gmmHelper->canonize(scratchAllocationBase2);
if (hwHelper.isScratchSpaceSurfaceStateAccessible()) {
const uint32_t ptss = 128;