Files
compute-runtime/runtime/os_interface/linux/drm_query.cpp
Piotr Fusik 57f88ee197 Determine the engine flag while binding the context.
Related-To: NEO-3008

Change-Id: Id2a9a210ca3a611b6663d43f1442b26cfccddb10
Signed-off-by: Piotr Fusik <piotr.fusik@intel.com>
2019-06-18 08:32:49 +02:00

29 lines
511 B
C++

/*
* Copyright (C) 2019 Intel Corporation
*
* SPDX-License-Identifier: MIT
*
*/
#include "runtime/os_interface/linux/drm_engine_mapper.h"
#include "drm_neo.h"
namespace NEO {
void *Drm::query(uint32_t queryId) {
return nullptr;
}
void Drm::queryEngineInfo() {
}
void Drm::queryMemoryInfo() {
}
unsigned int Drm::bindDrmContext(uint32_t drmContextId, DeviceBitfield deviceBitfield, aub_stream::EngineType engineType) {
return DrmEngineMapper::engineNodeMap(engineType);
}
} // namespace NEO