1 /* 2 * Copyright (C) 2021 Intel Corporation 3 * 4 * SPDX-License-Identifier: MIT 5 * 6 */ 7 8 #include "shared/source/command_stream/command_stream_receiver_with_aub_dump.inl" 9 #include "shared/source/command_stream/tbx_command_stream_receiver_hw.h" 10 #include "shared/source/command_stream/tbx_command_stream_receiver_hw.inl" 11 #include "shared/source/helpers/array_count.h" 12 #include "shared/source/helpers/populate_factory.h" 13 #include "shared/source/memory_manager/memory_banks.h" 14 #include "shared/source/memory_manager/memory_pool.h" 15 #include "shared/source/xe_hpc_core/hw_cmds.h" 16 17 namespace NEO { 18 using Family = XE_HPC_COREFamily; 19 static auto gfxCore = IGFX_XE_HPC_CORE; 20 21 template <> populateFactoryTable()22void populateFactoryTable<TbxCommandStreamReceiverHw<Family>>() { 23 extern TbxCommandStreamReceiverCreateFunc tbxCommandStreamReceiverFactory[IGFX_MAX_CORE]; 24 UNRECOVERABLE_IF(!isInRange(gfxCore, tbxCommandStreamReceiverFactory)); 25 tbxCommandStreamReceiverFactory[gfxCore] = TbxCommandStreamReceiverHw<Family>::create; 26 } 27 28 #include "shared/source/command_stream/tbx_command_stream_receiver_xehp_and_later.inl" 29 30 template class TbxCommandStreamReceiverHw<Family>; 31 template class CommandStreamReceiverWithAUBDump<TbxCommandStreamReceiverHw<Family>>; 32 } // namespace NEO 33