mirror of
https://github.com/intel/compute-runtime.git
synced 2026-01-03 06:49:52 +08:00
Add support for zeContextCreateEx
Signed-off-by: Jaime Arteaga <jaime.a.arteaga.molina@intel.com>
This commit is contained in:
committed by
Compute-Runtime-Automation
parent
9ed68131c3
commit
521cc56096
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright (C) 2020 Intel Corporation
|
||||
* Copyright (C) 2020-2021 Intel Corporation
|
||||
*
|
||||
* SPDX-License-Identifier: MIT
|
||||
*
|
||||
@@ -109,7 +109,12 @@ struct ContextImp : Context {
|
||||
const ze_image_desc_t *desc,
|
||||
ze_image_handle_t *phImage) override;
|
||||
|
||||
std::vector<Device *> &getDevices() {
|
||||
return devices;
|
||||
}
|
||||
|
||||
protected:
|
||||
std::vector<Device *> devices;
|
||||
DriverHandle *driverHandle = nullptr;
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user