refactor: remove not used code
Signed-off-by: Zbigniew Zdanowicz <zbigniew.zdanowicz@intel.com>
This commit is contained in:
parent
29bd2763f1
commit
b7dfc5c1de
|
@ -46,12 +46,10 @@ struct StateComputeModeProperties {
|
||||||
|
|
||||||
protected:
|
protected:
|
||||||
void clearIsDirtyExtraPerContext();
|
void clearIsDirtyExtraPerContext();
|
||||||
void clearIsDirtyExtraPerKernel();
|
|
||||||
bool isDirtyExtra() const;
|
bool isDirtyExtra() const;
|
||||||
void resetStateExtra();
|
void resetStateExtra();
|
||||||
|
|
||||||
void setPropertiesExtraPerContext();
|
void setPropertiesExtraPerContext();
|
||||||
void setPropertiesExtraPerKernel();
|
|
||||||
|
|
||||||
void copyPropertiesExtra(const StateComputeModeProperties &properties);
|
void copyPropertiesExtra(const StateComputeModeProperties &properties);
|
||||||
|
|
||||||
|
|
|
@ -50,7 +50,6 @@ void StateComputeModeProperties::setPropertiesAll(bool requiresCoherency, uint32
|
||||||
}
|
}
|
||||||
|
|
||||||
setPropertiesExtraPerContext();
|
setPropertiesExtraPerContext();
|
||||||
setPropertiesExtraPerKernel();
|
|
||||||
}
|
}
|
||||||
|
|
||||||
void StateComputeModeProperties::copyPropertiesAll(const StateComputeModeProperties &properties) {
|
void StateComputeModeProperties::copyPropertiesAll(const StateComputeModeProperties &properties) {
|
||||||
|
@ -71,8 +70,6 @@ void StateComputeModeProperties::copyPropertiesGrfNumberThreadArbitration(const
|
||||||
largeGrfMode.isDirty = false;
|
largeGrfMode.isDirty = false;
|
||||||
threadArbitrationPolicy.isDirty = false;
|
threadArbitrationPolicy.isDirty = false;
|
||||||
|
|
||||||
clearIsDirtyExtraPerKernel();
|
|
||||||
|
|
||||||
largeGrfMode.set(properties.largeGrfMode.value);
|
largeGrfMode.set(properties.largeGrfMode.value);
|
||||||
threadArbitrationPolicy.set(properties.threadArbitrationPolicy.value);
|
threadArbitrationPolicy.set(properties.threadArbitrationPolicy.value);
|
||||||
|
|
||||||
|
@ -94,7 +91,6 @@ void StateComputeModeProperties::clearIsDirty() {
|
||||||
memoryAllocationForScratchAndMidthreadPreemptionBuffers.isDirty = false;
|
memoryAllocationForScratchAndMidthreadPreemptionBuffers.isDirty = false;
|
||||||
|
|
||||||
clearIsDirtyExtraPerContext();
|
clearIsDirtyExtraPerContext();
|
||||||
clearIsDirtyExtraPerKernel();
|
|
||||||
}
|
}
|
||||||
|
|
||||||
void StateComputeModeProperties::setCoherencyProperty(bool requiresCoherency) {
|
void StateComputeModeProperties::setCoherencyProperty(bool requiresCoherency) {
|
||||||
|
@ -179,11 +175,9 @@ void StateComputeModeProperties::setPropertiesGrfNumberThreadArbitration(uint32_
|
||||||
|
|
||||||
this->threadArbitrationPolicy.isDirty = false;
|
this->threadArbitrationPolicy.isDirty = false;
|
||||||
this->largeGrfMode.isDirty = false;
|
this->largeGrfMode.isDirty = false;
|
||||||
clearIsDirtyExtraPerKernel();
|
|
||||||
|
|
||||||
setGrfNumberProperty(numGrfRequired);
|
setGrfNumberProperty(numGrfRequired);
|
||||||
setThreadArbitrationProperty(threadArbitrationPolicy);
|
setThreadArbitrationProperty(threadArbitrationPolicy);
|
||||||
setPropertiesExtraPerKernel();
|
|
||||||
}
|
}
|
||||||
|
|
||||||
void FrontEndProperties::initSupport(const RootDeviceEnvironment &rootDeviceEnvironment) {
|
void FrontEndProperties::initSupport(const RootDeviceEnvironment &rootDeviceEnvironment) {
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
/*
|
/*
|
||||||
* Copyright (C) 2022-2023 Intel Corporation
|
* Copyright (C) 2022-2024 Intel Corporation
|
||||||
*
|
*
|
||||||
* SPDX-License-Identifier: MIT
|
* SPDX-License-Identifier: MIT
|
||||||
*
|
*
|
||||||
|
@ -11,8 +11,6 @@ using namespace NEO;
|
||||||
|
|
||||||
void StateComputeModeProperties::setPropertiesExtraPerContext() {
|
void StateComputeModeProperties::setPropertiesExtraPerContext() {
|
||||||
}
|
}
|
||||||
void StateComputeModeProperties::setPropertiesExtraPerKernel() {
|
|
||||||
}
|
|
||||||
|
|
||||||
void StateComputeModeProperties::copyPropertiesExtra(const StateComputeModeProperties &properties) {
|
void StateComputeModeProperties::copyPropertiesExtra(const StateComputeModeProperties &properties) {
|
||||||
}
|
}
|
||||||
|
@ -23,8 +21,6 @@ bool StateComputeModeProperties::isDirtyExtra() const {
|
||||||
|
|
||||||
void StateComputeModeProperties::clearIsDirtyExtraPerContext() {
|
void StateComputeModeProperties::clearIsDirtyExtraPerContext() {
|
||||||
}
|
}
|
||||||
void StateComputeModeProperties::clearIsDirtyExtraPerKernel() {
|
|
||||||
}
|
|
||||||
|
|
||||||
void StateComputeModeProperties::resetStateExtra() {
|
void StateComputeModeProperties::resetStateExtra() {
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue