/* * Copyright (C) 2022-2023 Intel Corporation * * SPDX-License-Identifier: MIT * */ #pragma once #include namespace NEO { struct KernelDescriptor; struct KernelInfo; struct RootDeviceEnvironment; namespace AddressingModeHelper { bool failBuildProgramWithStatefulAccess(const RootDeviceEnvironment &rootDeviceEnvironment); bool containsStatefulAccess(const KernelDescriptor &kernelDescriptor, bool skipLastExplicitArg); bool containsStatefulAccess(const std::vector &kernelInfos, bool skipLastExplicitArg); } // namespace AddressingModeHelper } // namespace NEO