2017-12-21 07:45:38 +08:00
|
|
|
/*
|
2020-01-28 00:28:10 +08:00
|
|
|
* Copyright (C) 2017-2020 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
|
|
|
*
|
|
|
|
*/
|
|
|
|
|
2020-02-24 01:46:50 +08:00
|
|
|
#include "helpers/array_count.h"
|
2020-02-23 05:50:57 +08:00
|
|
|
#include "opencl/source/command_stream/aub_command_stream_receiver_hw.h"
|
|
|
|
#include "opencl/source/command_stream/aub_command_stream_receiver_hw_bdw_plus.inl"
|
|
|
|
#include "opencl/source/helpers/base_object.h"
|
2017-12-21 07:45:38 +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
|