mirror of
https://github.com/intel/compute-runtime.git
synced 2025-12-30 18:37:46 +08:00
Use unique_ptr for drm query
Change-Id: I7dc67ff33abc56b4525a90cfc41013fd530b3fa2 Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com>
This commit is contained in:
committed by
sys_ocldev
parent
6dc5810c7f
commit
3ce4aed78d
@@ -108,7 +108,7 @@ class Drm {
|
||||
std::unique_ptr<MemoryInfo> memoryInfo;
|
||||
|
||||
std::string getSysFsPciPath(int deviceID);
|
||||
void *query(uint32_t queryId);
|
||||
std::unique_ptr<uint8_t[]> query(uint32_t queryId);
|
||||
|
||||
#pragma pack(1)
|
||||
struct PCIConfig {
|
||||
|
||||
@@ -11,7 +11,7 @@
|
||||
|
||||
namespace NEO {
|
||||
|
||||
void *Drm::query(uint32_t queryId) {
|
||||
std::unique_ptr<uint8_t[]> Drm::query(uint32_t queryId) {
|
||||
return nullptr;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user