mirror of
https://github.com/intel/compute-runtime.git
synced 2026-01-03 06:49:52 +08:00
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:
committed by
Compute-Runtime-Automation
parent
cb4fa456b7
commit
c1867ed981
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user