mirror of
https://github.com/intel/compute-runtime.git
synced 2026-01-03 06:49:52 +08:00
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:
committed by
Compute-Runtime-Automation
parent
b42a49eb4b
commit
1c366d1ec0
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user