We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 37b9f73 commit c438785Copy full SHA for c438785
unified-runtime/source/adapters/level_zero/device.cpp
@@ -1,6 +1,6 @@
1
//===--------- device.cpp - Level Zero Adapter ----------------------------===//
2
//
3
-// Copyright (C) 2023-2024 Intel Corporation
+// Copyright (C) 2023-2025 Intel Corporation
4
5
// Part of the Unified-Runtime Project, under the Apache License v2.0 with LLVM
6
// Exceptions. See LICENSE.TXT
@@ -1986,7 +1986,7 @@ ur_result_t ur_device_handle_t_::initialize(int SubSubDeviceOrdinal,
1986
1987
std::vector<ZeStruct<ze_device_vector_width_properties_ext_t>>
1988
PropertiesVector;
1989
- PropertiesVector.reserve(Count);
+ PropertiesVector.resize(Count);
1990
1991
ZeStruct<ze_device_vector_width_properties_ext_t>
1992
MaxVectorWidthProperties;
0 commit comments