/* * Copyright (C) 2020-2022 Intel Corporation * * SPDX-License-Identifier: MIT * */ #pragma once #include "shared/source/helpers/hw_helper.h" namespace NEO { template struct UltMemorySynchronizationCommands : MemorySynchronizationCommands { static size_t getExpectedPipeControlCount(const HardwareInfo &hwInfo) { return (MemorySynchronizationCommands::getSizeForBarrierWithPostSyncOperation(hwInfo, false) - MemorySynchronizationCommands::getSizeForAdditonalSynchronization(hwInfo)) / sizeof(typename GfxFamily::PIPE_CONTROL); } }; } // namespace NEO