mirror of
https://github.com/intel/compute-runtime.git
synced 2026-01-05 09:09:04 +08:00
fix: disable 3d and media sharing support on PVC
Signed-off-by: Kamil Kopryk <kamil.kopryk@intel.com>
This commit is contained in:
committed by
Compute-Runtime-Automation
parent
7cb7229c1c
commit
c2387954e9
@@ -201,7 +201,7 @@ void ClDevice::initializeCaps() {
|
||||
deviceInfo.vmeExtension = true;
|
||||
}
|
||||
|
||||
auto sharingAllowed = (getNumGenericSubDevices() <= 1u);
|
||||
auto sharingAllowed = (getNumGenericSubDevices() <= 1u) && productHelper.isSharingWith3dOrMediaAllowed();
|
||||
if (sharingAllowed) {
|
||||
deviceExtensions += sharingFactory.getExtensions(driverInfo.get());
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user