20 lines
527 B
C++
20 lines
527 B
C++
/*
|
|
* Copyright (C) 2018-2021 Intel Corporation
|
|
*
|
|
* SPDX-License-Identifier: MIT
|
|
*
|
|
*/
|
|
|
|
#include "opencl/test/unit_test/indirect_heap/indirect_heap_fixture.h"
|
|
|
|
#include "opencl/source/command_queue/command_queue.h"
|
|
|
|
namespace NEO {
|
|
|
|
void IndirectHeapFixture::SetUp(CommandQueue *pCmdQ) {
|
|
pDSH = &pCmdQ->getIndirectHeap(IndirectHeap::DYNAMIC_STATE, 8192);
|
|
pSSH = &pCmdQ->getIndirectHeap(IndirectHeap::SURFACE_STATE, 4096);
|
|
pIOH = &pCmdQ->getIndirectHeap(IndirectHeap::INDIRECT_OBJECT, 4096);
|
|
}
|
|
} // namespace NEO
|