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 1821b76 commit 340ffa2Copy full SHA for 340ffa2
libsyclinterface/source/dpctl_sycl_device_interface.cpp
@@ -862,6 +862,7 @@ DPCTLDevice_GetComponentDevices(__dpctl_keep const DPCTLSyclDeviceRef DRef)
862
D->get_info<sycl::ext::oneapi::experimental::info::device::
863
component_devices>();
864
ComponentDevicesVectorPtr = new vecTy();
865
+ ComponentDevicesVectorPtr->reserve(componentDevices.size());
866
for (const auto &cd : componentDevices) {
867
ComponentDevicesVectorPtr->emplace_back(
868
wrap<device>(new device(cd)));
0 commit comments