mirror of
https://github.com/intel/compute-runtime.git
synced 2026-01-03 14:55:24 +08:00
Correctly initialize descriptors and property structs in black box tests
Signed-off-by: Jaime Arteaga <jaime.a.arteaga.molina@intel.com>
This commit is contained in:
committed by
Compute-Runtime-Automation
parent
20ba56f254
commit
753b0d82d5
@@ -126,7 +126,7 @@ void getDeviceHandles(ze_driver_handle_t &driverHandle, std::vector<ze_device_ha
|
||||
devices.resize(deviceCount);
|
||||
VALIDATECALL(zeDeviceGet(driverHandle, &deviceCount, devices.data()));
|
||||
|
||||
ze_device_properties_t deviceProperties = {};
|
||||
ze_device_properties_t deviceProperties = {ZE_STRUCTURE_TYPE_DEVICE_PROPERTIES};
|
||||
for (const auto &device : devices) {
|
||||
VALIDATECALL(zeDeviceGetProperties(device, &deviceProperties));
|
||||
|
||||
|
||||
Reference in New Issue
Block a user