refactor: add const and virtual to context methods

Related-To: NEO-10920

Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com>
This commit is contained in:
Mateusz Hoppe
2024-03-25 19:04:34 +00:00
committed by Compute-Runtime-Automation
parent cee5f2d93c
commit 34544c35dc
2 changed files with 2 additions and 2 deletions

View File

@@ -157,7 +157,7 @@ class IoctlHelperXe : public IoctlHelper {
};
uint16_t getDefaultEngineClass(const aub_stream::EngineType &defaultEngineType);
void setContextProperties(const OsContextLinux &osContext, void *extProperties, uint32_t &extIndexInOut);
virtual void setContextProperties(const OsContextLinux &osContext, void *extProperties, uint32_t &extIndexInOut);
int maxExecQueuePriority = 0;
std::mutex xeLock;

View File

@@ -82,7 +82,7 @@ class OsContext : public ReferenceTrackedObject<OsContext> {
void setContextGroup(bool value) {
isContextGroup = value;
}
bool isPartOfContextGroup() {
bool isPartOfContextGroup() const {
return isContextGroup;
}