2019-10-25 23:55:22 +08:00
|
|
|
/*
|
2020-01-23 18:57:37 +08:00
|
|
|
* Copyright (C) 2019-2020 Intel Corporation
|
2019-10-25 23:55:22 +08:00
|
|
|
*
|
|
|
|
* SPDX-License-Identifier: MIT
|
|
|
|
*
|
|
|
|
*/
|
|
|
|
|
|
|
|
#pragma once
|
2020-02-24 05:44:01 +08:00
|
|
|
#include "shared/source/command_stream/csr_definitions.h"
|
2020-07-30 21:02:11 +08:00
|
|
|
|
|
|
|
#include "hw_cmds.h"
|
2019-10-25 23:55:22 +08:00
|
|
|
|
|
|
|
namespace NEO {
|
|
|
|
template <typename GfxFamily>
|
|
|
|
struct StateComputeModeHelper {
|
2020-03-19 22:15:51 +08:00
|
|
|
static bool isStateComputeModeRequired(const CsrSizeRequestFlags &csrSizeRequestFlags, bool isThreadArbitionPolicyProgrammed);
|
2019-10-25 23:55:22 +08:00
|
|
|
};
|
|
|
|
} // namespace NEO
|