2017-12-21 07:45:38 +08:00
|
|
|
/*
|
2021-05-17 02:51:16 +08:00
|
|
|
* Copyright (C) 2018-2021 Intel Corporation
|
2017-12-21 07:45:38 +08:00
|
|
|
*
|
2018-09-18 15:11:08 +08:00
|
|
|
* SPDX-License-Identifier: MIT
|
2017-12-21 07:45:38 +08:00
|
|
|
*
|
|
|
|
*/
|
|
|
|
|
2021-09-23 06:03:07 +08:00
|
|
|
#include "shared/source/command_stream/command_stream_receiver_with_aub_dump.inl"
|
2021-05-31 17:28:07 +08:00
|
|
|
#include "shared/source/command_stream/tbx_command_stream_receiver_hw.h"
|
|
|
|
#include "shared/source/command_stream/tbx_command_stream_receiver_hw.inl"
|
2020-02-24 05:44:01 +08:00
|
|
|
#include "shared/source/gen8/hw_cmds.h"
|
|
|
|
#include "shared/source/helpers/array_count.h"
|
2020-02-24 17:22:30 +08:00
|
|
|
|
2019-03-26 18:59:46 +08:00
|
|
|
namespace NEO {
|
2017-12-21 07:45:38 +08:00
|
|
|
|
|
|
|
typedef BDWFamily Family;
|
|
|
|
static auto gfxCore = IGFX_GEN8_CORE;
|
|
|
|
|
|
|
|
template <>
|
|
|
|
void populateFactoryTable<TbxCommandStreamReceiverHw<Family>>() {
|
|
|
|
extern TbxCommandStreamReceiverCreateFunc tbxCommandStreamReceiverFactory[IGFX_MAX_CORE];
|
|
|
|
UNRECOVERABLE_IF(!isInRange(gfxCore, tbxCommandStreamReceiverFactory));
|
|
|
|
tbxCommandStreamReceiverFactory[gfxCore] = TbxCommandStreamReceiverHw<Family>::create;
|
|
|
|
}
|
|
|
|
|
|
|
|
template class TbxCommandStreamReceiverHw<Family>;
|
2018-03-06 05:16:21 +08:00
|
|
|
template class CommandStreamReceiverWithAUBDump<TbxCommandStreamReceiverHw<Family>>;
|
2019-03-26 18:59:46 +08:00
|
|
|
} // namespace NEO
|