mirror of
https://github.com/intel/compute-runtime.git
synced 2025-12-24 12:23:05 +08:00
24 lines
402 B
C
24 lines
402 B
C
|
|
/*
|
||
|
|
* Copyright (C) 2019 Intel Corporation
|
||
|
|
*
|
||
|
|
* SPDX-License-Identifier: MIT
|
||
|
|
*
|
||
|
|
*/
|
||
|
|
|
||
|
|
#pragma once
|
||
|
|
#include "runtime/device/device.h"
|
||
|
|
|
||
|
|
namespace NEO {
|
||
|
|
|
||
|
|
class SubDevice;
|
||
|
|
|
||
|
|
class RootDevice : public Device {
|
||
|
|
public:
|
||
|
|
RootDevice(ExecutionEnvironment *executionEnvironment, uint32_t deviceIndex);
|
||
|
|
~RootDevice() override;
|
||
|
|
|
||
|
|
protected:
|
||
|
|
std::vector<SubDevice *> subdevices;
|
||
|
|
};
|
||
|
|
} // namespace NEO
|