mirror of
https://github.com/intel/compute-runtime.git
synced 2025-09-15 13:01:45 +08:00
Add method to get device bitfield from context
Related-To: NEO-4484 Change-Id: I5079c5bff48b552ed5326b2252bcd9401ea66c7d Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
This commit is contained in:
@ -45,7 +45,7 @@ GraphicsAllocation *UnifiedSharing::createGraphicsAllocation(Context *context, U
|
||||
0u, // size
|
||||
allocationType,
|
||||
false, // isMultiStorageAllocation
|
||||
context->getDevice(0)->getDeviceBitfield()};
|
||||
context->getDeviceBitfieldForAllocation()};
|
||||
return memoryManager->createGraphicsAllocationFromSharedHandle(toOsHandle(description.handle), properties, false);
|
||||
}
|
||||
default:
|
||||
|
Reference in New Issue
Block a user