feature: atomic attributes for shared system alloc

Related-To: NEO-13715, NEO-14862

Signed-off-by: Chandio, Bibrak Qamar <bibrak.qamar.chandio@intel.com>
This commit is contained in:
Chandio, Bibrak Qamar
2025-05-07 00:06:28 +00:00
committed by Compute-Runtime-Automation
parent cb4fa456b7
commit c1867ed981
22 changed files with 841 additions and 93 deletions

View File

@@ -9,6 +9,9 @@
#include "shared/source/device/device.h"
namespace NEO {
using SubDeviceIdsVec = StackVec<uint32_t, 4>;
class RootDevice;
class SubDevice : public Device {
public:
@@ -20,6 +23,8 @@ class SubDevice : public Device {
Device *getRootDevice() const override;
uint32_t getSubDeviceIndex() const;
static NEO::SubDeviceIdsVec getSubDeviceIdsFromDevice(NEO::Device &device);
static uint32_t getSubDeviceId(NEO::Device &device);
bool isSubDevice() const override { return true; }
protected: