Files
compute-runtime/opencl/source/dll/linux/os_interface.cpp
Bartosz Dunajski 265b0c9aa0 Move GMM_INIT_IN_ARGS initialization to dll tests
Change-Id: I8f647c0ecf737492995d34ba6c0344325fdad48a
Signed-off-by: Bartosz Dunajski <bartosz.dunajski@intel.com>
2020-03-17 17:56:12 +01:00

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