mirror of
https://github.com/intel/compute-runtime.git
synced 2025-12-20 00:24:58 +08:00
- correclty choose default engine context accounting for root device index and subdevices bitfield Related-To: NEO-7516 Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com>
18 lines
482 B
C++
18 lines
482 B
C++
/*
|
|
* Copyright (C) 2021-2022 Intel Corporation
|
|
*
|
|
* SPDX-License-Identifier: MIT
|
|
*
|
|
*/
|
|
|
|
#include "shared/source/os_interface/os_context.h"
|
|
#include "shared/source/os_interface/windows/os_context_win.h"
|
|
|
|
namespace NEO {
|
|
|
|
OsContext *OsContext::create(OSInterface *osInterface, uint32_t rootDeviceIndex, uint32_t contextId, const EngineDescriptor &engineDescriptor) {
|
|
return OsContextWin::create(osInterface, rootDeviceIndex, contextId, engineDescriptor);
|
|
}
|
|
|
|
} // namespace NEO
|