/* * Copyright (C) 2019 Intel Corporation * * SPDX-License-Identifier: MIT * */ #include "runtime/helpers/state_base_address_base.inl" namespace NEO { template void StateBaseAddressHelper::appendStateBaseAddressParameters( STATE_BASE_ADDRESS *stateBaseAddress, const IndirectHeap &dsh, const IndirectHeap &ioh, const IndirectHeap &ssh, uint64_t generalStateBase, uint64_t internalHeapBase, GmmHelper *gmmHelper, DispatchFlags &dispatchFlags) { } template void StateBaseAddressHelper::programBindingTableBaseAddress(LinearStream &commandStream, const IndirectHeap &ssh, size_t stateBaseAddressCmdOffset, GmmHelper *gmmHelper) { auto sbaCommand = static_cast(ptrOffset(commandStream.getCpuBase(), stateBaseAddressCmdOffset)); UNRECOVERABLE_IF(sbaCommand->getSurfaceStateBaseAddress() != ssh.getGraphicsAllocation()->getGpuAddress()); } } // namespace NEO