mirror of
https://github.com/intel/compute-runtime.git
synced 2026-01-04 15:53:45 +08:00
If gtpin is used, then don't check addressing mode of the last explicit arg, which is gtpin's surface. Related-To: NEO-6075 Signed-off-by: Kamil Kopryk <kamil.kopryk@intel.com>
21 lines
472 B
C++
21 lines
472 B
C++
/*
|
|
* Copyright (C) 2022-2023 Intel Corporation
|
|
*
|
|
* SPDX-License-Identifier: MIT
|
|
*
|
|
*/
|
|
|
|
#pragma once
|
|
#include <vector>
|
|
|
|
namespace NEO {
|
|
struct KernelInfo;
|
|
struct RootDeviceEnvironment;
|
|
|
|
namespace AddressingModeHelper {
|
|
bool failBuildProgramWithStatefulAccess(const RootDeviceEnvironment &rootDeviceEnvironment);
|
|
bool containsStatefulAccess(const std::vector<KernelInfo *> &kernelInfos, bool skipLastExplicitArg);
|
|
|
|
} // namespace AddressingModeHelper
|
|
} // namespace NEO
|