mirror of
https://github.com/intel/compute-runtime.git
synced 2025-12-24 12:23:05 +08:00
Change-Id: I8f647c0ecf737492995d34ba6c0344325fdad48a Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com>
22 lines
501 B
C++
22 lines
501 B
C++
/*
|
|
* Copyright (C) 2018-2020 Intel Corporation
|
|
*
|
|
* SPDX-License-Identifier: MIT
|
|
*
|
|
*/
|
|
|
|
#include "shared/source/os_interface/linux/os_interface.h"
|
|
|
|
#include "shared/source/gmm_helper/gmm_interface.h"
|
|
#include "shared/source/os_interface/linux/drm_neo.h"
|
|
|
|
namespace NEO {
|
|
|
|
bool OSInterface::osEnableLocalMemory = true;
|
|
|
|
void OSInterface::setGmmInputArgs(void *args) {
|
|
reinterpret_cast<GMM_INIT_IN_ARGS *>(args)->FileDescriptor = this->get()->getDrm()->getFileDescriptor();
|
|
}
|
|
|
|
} // namespace NEO
|