mirror of
https://github.com/intel/compute-runtime.git
synced 2026-01-05 09:09:04 +08:00
Add function to create devices bitfield based on allocation properties
Change-Id: Ic70443b1fb6106186efcff318690e434dc1db625 Signed-off-by: Jablonski, Mateusz <mateusz.jablonski@intel.com>
This commit is contained in:
committed by
sys_ocldev
parent
ce77425428
commit
798137e4bb
@@ -44,6 +44,7 @@ constexpr auto nonSharedResource = 0u;
|
||||
}
|
||||
|
||||
class Gmm;
|
||||
struct AllocationProperties;
|
||||
|
||||
class GraphicsAllocation : public IDNode<GraphicsAllocation> {
|
||||
public:
|
||||
@@ -165,6 +166,7 @@ class GraphicsAllocation : public IDNode<GraphicsAllocation> {
|
||||
allocationType == AllocationType::TIMESTAMP_PACKET_TAG_BUFFER ||
|
||||
allocationType == AllocationType::COMMAND_BUFFER;
|
||||
}
|
||||
static DevicesBitfield createBitfieldFromProperties(const AllocationProperties &properties);
|
||||
|
||||
protected:
|
||||
constexpr static uint32_t objectNotResident = (uint32_t)-1;
|
||||
|
||||
Reference in New Issue
Block a user