2019-03-01 23:14:28 +08:00
|
|
|
/*
|
2021-03-24 19:37:13 +08:00
|
|
|
* Copyright (C) 2019-2021 Intel Corporation
|
2019-03-01 23:14:28 +08:00
|
|
|
*
|
|
|
|
* SPDX-License-Identifier: MIT
|
|
|
|
*
|
|
|
|
*/
|
|
|
|
|
2020-02-23 22:20:22 +08:00
|
|
|
#include "opencl/test/unit_test/mocks/mock_gfx_partition.h"
|
2019-03-01 23:14:28 +08:00
|
|
|
|
2019-03-26 18:59:46 +08:00
|
|
|
using namespace NEO;
|
2019-03-01 23:14:28 +08:00
|
|
|
|
|
|
|
std::array<HeapIndex, static_cast<uint32_t>(HeapIndex::TOTAL_HEAPS)>
|
2019-03-13 20:14:34 +08:00
|
|
|
MockGfxPartition::allHeapNames{{HeapIndex::HEAP_INTERNAL_DEVICE_MEMORY,
|
|
|
|
HeapIndex::HEAP_INTERNAL,
|
|
|
|
HeapIndex::HEAP_EXTERNAL_DEVICE_MEMORY,
|
|
|
|
HeapIndex::HEAP_EXTERNAL,
|
|
|
|
HeapIndex::HEAP_STANDARD,
|
|
|
|
HeapIndex::HEAP_STANDARD64KB,
|
2021-03-24 19:37:13 +08:00
|
|
|
HeapIndex::HEAP_STANDARD2MB,
|
2019-03-15 18:09:06 +08:00
|
|
|
HeapIndex::HEAP_SVM}};
|