28 lines
778 B
C++
28 lines
778 B
C++
/*
|
|
* Copyright (C) 2019-2021 Intel Corporation
|
|
*
|
|
* SPDX-License-Identifier: MIT
|
|
*
|
|
*/
|
|
|
|
#include "hardware_commands_helper_gen12lp.inl"
|
|
|
|
#include "shared/source/gen12lp/hw_cmds.h"
|
|
|
|
#include "opencl/source/command_queue/command_queue.h"
|
|
#include "opencl/source/helpers/hardware_commands_helper.h"
|
|
#include "opencl/source/helpers/hardware_commands_helper_base.inl"
|
|
#include "opencl/source/helpers/hardware_commands_helper_bdw_plus.inl"
|
|
|
|
namespace NEO {
|
|
|
|
template <>
|
|
size_t HardwareCommandsHelper<TGLLPFamily>::getSizeRequiredCS() {
|
|
size_t size = 2 * sizeof(typename TGLLPFamily::MEDIA_STATE_FLUSH) +
|
|
sizeof(typename TGLLPFamily::MEDIA_INTERFACE_DESCRIPTOR_LOAD);
|
|
return size;
|
|
}
|
|
|
|
template struct HardwareCommandsHelper<TGLLPFamily>;
|
|
} // namespace NEO
|