mirror of
https://github.com/intel/compute-runtime.git
synced 2025-12-26 15:03:02 +08:00
ULTs: more MemoryManagementFixture cleanup
Change-Id: Iaeb60c9c9e22baf63ff01419a5a6dde1e1652a47
This commit is contained in:
committed by
sys_ocldev
parent
6e005f716c
commit
bdcaf332ce
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright (c) 2017, Intel Corporation
|
||||
* Copyright (c) 2017 - 2018, Intel Corporation
|
||||
*
|
||||
* Permission is hereby granted, free of charge, to any person obtaining a
|
||||
* copy of this software and associated documentation files (the "Software"),
|
||||
@@ -25,7 +25,6 @@
|
||||
#include "runtime/memory_manager/page_table.h"
|
||||
#include "test.h"
|
||||
#include "gtest/gtest.h"
|
||||
#include "unit_tests/fixtures/memory_management_fixture.h"
|
||||
#include "unit_tests/helpers/memory_management.h"
|
||||
|
||||
#include <memory>
|
||||
@@ -87,19 +86,17 @@ class GGTTPageTable : public PDPE {
|
||||
}
|
||||
};
|
||||
|
||||
class PageTableFixture : public MemoryManagementFixture, public PTEFixture {
|
||||
class PageTableFixture : public PTEFixture {
|
||||
protected:
|
||||
const uintptr_t refAddr = (uintptr_t(1) << IntSelector<46, 31, is64Bit>::value);
|
||||
|
||||
public:
|
||||
void SetUp() override {
|
||||
MemoryManagementFixture::SetUp();
|
||||
void SetUp() {
|
||||
PTEFixture::SetUp();
|
||||
}
|
||||
|
||||
void TearDown() override {
|
||||
void TearDown() {
|
||||
PTEFixture::TearDown();
|
||||
MemoryManagementFixture::TearDown();
|
||||
}
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user