2017-12-21 07:45:38 +08:00
|
|
|
/*
|
2019-02-27 18:39:32 +08:00
|
|
|
* Copyright (C) 2017-2019 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
|
|
|
*
|
|
|
|
*/
|
|
|
|
|
2019-02-27 18:39:32 +08:00
|
|
|
#include "runtime/command_stream/command_stream_receiver_with_aub_dump.inl"
|
2017-12-21 07:45:38 +08:00
|
|
|
#include "runtime/command_stream/tbx_command_stream_receiver_hw.h"
|
|
|
|
#include "runtime/command_stream/tbx_command_stream_receiver_hw.inl"
|
|
|
|
#include "runtime/helpers/array_count.h"
|
2019-02-27 18:39:32 +08:00
|
|
|
#include "runtime/helpers/base_object.h"
|
|
|
|
|
|
|
|
#include "hw_cmds.h"
|
2017-12-21 07:45:38 +08:00
|
|
|
|
|
|
|
namespace OCLRT {
|
|
|
|
|
|
|
|
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>>;
|
2018-06-13 03:54:39 +08:00
|
|
|
} // namespace OCLRT
|