Move sharedSystemMemCapabilities to hwInfo

Signed-off-by: Kamil Kopryk <kamil.kopryk@intel.com>
Related-To: NEO-6075
This commit is contained in:
Kamil Kopryk
2021-11-17 11:26:26 +00:00
committed by Compute-Runtime-Automation
parent 8130727232
commit 7bbb43a563
29 changed files with 62 additions and 22 deletions

View File

@@ -92,9 +92,7 @@ class Device : public ReferenceTrackedObject<Device> {
bool isFullRangeSvm() const {
return getRootDeviceEnvironment().isFullRangeSvm();
}
bool areSharedSystemAllocationsAllowed() const {
return this->deviceInfo.sharedSystemAllocationsSupport;
}
bool areSharedSystemAllocationsAllowed() const;
template <typename SpecializedDeviceT>
void setSpecializedDevice(SpecializedDeviceT *specializedDevice) {
this->specializedDevice = reinterpret_cast<uintptr_t>(specializedDevice);