mirror of
https://github.com/intel/compute-runtime.git
synced 2026-01-05 17:41:26 +08:00
fix: setup correct render/display core family for gmmlib initialization
pass values got from adapter info Related-To: NEO-10482 Signed-off-by: Mateusz Jablonski <mateusz.jablonski@intel.com>
This commit is contained in:
committed by
Compute-Runtime-Automation
parent
cfd3edfb2c
commit
9cbc33e23d
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright (C) 2021-2022 Intel Corporation
|
||||
* Copyright (C) 2021-2024 Intel Corporation
|
||||
*
|
||||
* SPDX-License-Identifier: MIT
|
||||
*
|
||||
@@ -13,6 +13,9 @@ namespace NEO {
|
||||
void Wddm::setGmmInputArgs(void *args) {
|
||||
auto gmmInArgs = reinterpret_cast<GMM_INIT_IN_ARGS *>(args);
|
||||
|
||||
gmmInArgs->Platform.eRenderCoreFamily = gfxPlatform->eRenderCoreFamily;
|
||||
gmmInArgs->Platform.eDisplayCoreFamily = gfxPlatform->eDisplayCoreFamily;
|
||||
|
||||
gmmInArgs->stAdapterBDF = this->adapterBDF;
|
||||
gmmInArgs->ClientType = GMM_CLIENT::GMM_OCL_VISTA;
|
||||
gmmInArgs->DeviceRegistryPath = deviceRegistryPath.c_str();
|
||||
|
||||
Reference in New Issue
Block a user