2019-09-19 01:32:33 +08:00
|
|
|
/*
|
2020-02-22 16:28:27 +08:00
|
|
|
* Copyright (C) 2019-2020 Intel Corporation
|
2019-09-19 01:32:33 +08:00
|
|
|
*
|
|
|
|
* SPDX-License-Identifier: MIT
|
|
|
|
*
|
|
|
|
*/
|
|
|
|
|
2020-02-24 05:44:01 +08:00
|
|
|
#include "shared/source/gen12lp/hw_cmds.h"
|
2020-10-14 20:04:29 +08:00
|
|
|
#include "shared/source/helpers/populate_factory.h"
|
2020-02-24 17:22:30 +08:00
|
|
|
|
2020-02-23 05:50:57 +08:00
|
|
|
#include "opencl/source/device_queue/device_queue_hw.h"
|
|
|
|
#include "opencl/source/device_queue/device_queue_hw_bdw_plus.inl"
|
|
|
|
#include "opencl/source/device_queue/device_queue_hw_profiling.inl"
|
2019-09-19 01:32:33 +08:00
|
|
|
|
|
|
|
namespace NEO {
|
|
|
|
typedef TGLLPFamily Family;
|
|
|
|
static auto gfxCore = IGFX_GEN12LP_CORE;
|
|
|
|
|
|
|
|
template <>
|
|
|
|
void populateFactoryTable<DeviceQueueHw<Family>>() {
|
|
|
|
extern DeviceQueueCreateFunc deviceQueueFactory[IGFX_MAX_CORE];
|
|
|
|
deviceQueueFactory[gfxCore] = DeviceQueueHw<Family>::create;
|
|
|
|
}
|
|
|
|
|
|
|
|
template <>
|
|
|
|
size_t DeviceQueueHw<Family>::getWaCommandsSize() { return 0; }
|
|
|
|
|
|
|
|
template <>
|
|
|
|
void DeviceQueueHw<Family>::addArbCheckCmdWa() {}
|
|
|
|
|
|
|
|
template <>
|
|
|
|
void DeviceQueueHw<Family>::addMiAtomicCmdWa(uint64_t atomicOpPlaceholder) {}
|
|
|
|
|
|
|
|
template <>
|
|
|
|
void DeviceQueueHw<Family>::addLriCmdWa(bool setArbCheck) {}
|
|
|
|
|
|
|
|
template <>
|
|
|
|
void DeviceQueueHw<Family>::addPipeControlCmdWa(bool isNoopCmd) {}
|
|
|
|
|
|
|
|
template class DeviceQueueHw<Family>;
|
|
|
|
} // namespace NEO
|