/* * Copyright (C) 2020 Intel Corporation * * SPDX-License-Identifier: MIT * */ #include "gmm_helper/gmm.h" #include "gmm_helper/gmm_helper.h" #include "helpers/aligned_memory.h" #include "helpers/basic_math.h" #include "image/image_surface_state.h" #include "memory_manager/graphics_allocation.h" #include "memory_manager/surface.h" #include "opencl/source/helpers/surface_formats.h" #include "opencl/source/kernel/kernel.h" #include "opencl/source/mem_obj/image.h" #include "opencl/test/unit_test/fixtures/device_fixture.h" #include "opencl/test/unit_test/fixtures/image_fixture.h" #include "opencl/test/unit_test/mocks/mock_gmm.h" #include "opencl/test/unit_test/mocks/mock_gmm_resource_info.h" #include "opencl/test/unit_test/mocks/mock_graphics_allocation.h" #include "test.h" #include class ImageSurfaceStateTests : public DeviceFixture, public testing::Test { public: ImageSurfaceStateTests() = default; void SetUp() override { DeviceFixture::SetUp(); gmmHelper = pDevice->getGmmHelper(); } void TearDown() override { DeviceFixture::TearDown(); } MockGmm mockGmm; GmmHelper *gmmHelper = nullptr; NEO::ImageInfo imageInfo; };