mirror of
https://github.com/intel/compute-runtime.git
synced 2026-01-22 19:29:06 +08:00
Change-Id: Ie708a944130884248499091854ebc483953fa828 Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com>
23 lines
441 B
C++
23 lines
441 B
C++
/*
|
|
* Copyright (C) 2019-2020 Intel Corporation
|
|
*
|
|
* SPDX-License-Identifier: MIT
|
|
*
|
|
*/
|
|
|
|
#pragma once
|
|
|
|
#include "core/os_interface/linux/drm_neo.h"
|
|
|
|
#include "drm/i915_drm.h"
|
|
|
|
class DrmWrap : public NEO::Drm {
|
|
public:
|
|
static NEO::Drm *createDrm(int32_t deviceOrdinal) {
|
|
return NEO::Drm::create(deviceOrdinal);
|
|
}
|
|
static void closeDevice(int32_t deviceOrdinal) {
|
|
NEO::Drm::closeDevice(deviceOrdinal);
|
|
};
|
|
};
|