Files
compute-runtime/opencl/source/gen12lp/hardware_commands_helper_gen12lp.cpp
2024-01-12 09:39:12 +01:00

28 lines
782 B
C++

/*
* Copyright (C) 2019-2024 Intel Corporation
*
* SPDX-License-Identifier: MIT
*
*/
#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_and_later.inl"
namespace NEO {
using FamilyType = Gen12LpFamily;
template <>
size_t HardwareCommandsHelper<FamilyType>::getSizeRequiredCS() {
size_t size = 2 * sizeof(typename FamilyType::MEDIA_STATE_FLUSH) +
sizeof(typename FamilyType::MEDIA_INTERFACE_DESCRIPTOR_LOAD);
return size;
}
} // namespace NEO
#include "opencl/source/helpers/enable_hardware_commands_helper.inl"