mirror of
https://github.com/intel/compute-runtime.git
synced 2025-12-26 15:03:02 +08:00
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:
committed by
Compute-Runtime-Automation
parent
cee5f2d93c
commit
34544c35dc
@@ -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;
|
||||
|
||||
@@ -82,7 +82,7 @@ class OsContext : public ReferenceTrackedObject<OsContext> {
|
||||
void setContextGroup(bool value) {
|
||||
isContextGroup = value;
|
||||
}
|
||||
bool isPartOfContextGroup() {
|
||||
bool isPartOfContextGroup() const {
|
||||
return isContextGroup;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user