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/aub_command_stream_receiver_hw.h"
|
|
|
|
#include "shared/source/command_stream/aub_command_stream_receiver_hw_bdw_and_later.inl"
|
2020-02-24 05:44:01 +08:00
|
|
|
#include "shared/source/helpers/array_count.h"
|
2020-10-14 20:04:29 +08:00
|
|
|
#include "shared/source/helpers/populate_factory.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<AUBCommandStreamReceiverHw<Family>>() {
|
|
|
|
extern AubCommandStreamReceiverCreateFunc aubCommandStreamReceiverFactory[IGFX_MAX_CORE];
|
|
|
|
UNRECOVERABLE_IF(!isInRange(gfxCore, aubCommandStreamReceiverFactory));
|
|
|
|
aubCommandStreamReceiverFactory[gfxCore] = AUBCommandStreamReceiverHw<Family>::create;
|
|
|
|
}
|
|
|
|
|
|
|
|
template class AUBCommandStreamReceiverHw<Family>;
|
2019-03-26 18:59:46 +08:00
|
|
|
} // namespace NEO
|