Add support for zeContextCreateEx

Signed-off-by: Jaime Arteaga <jaime.a.arteaga.molina@intel.com>
This commit is contained in:
Jaime Arteaga
2021-03-14 22:49:27 +00:00
committed by Compute-Runtime-Automation
parent 9ed68131c3
commit 521cc56096
12 changed files with 92 additions and 19 deletions

View File

@@ -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;
};