From e5df76dbc94cb65367a5c69f4dbdd24e720b874d Mon Sep 17 00:00:00 2001 From: Julian Oppermann Date: Fri, 24 Jan 2025 04:01:23 +0000 Subject: [PATCH] Use unordered set Signed-off-by: Julian Oppermann --- sycl/source/detail/kernel_bundle_impl.hpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/sycl/source/detail/kernel_bundle_impl.hpp b/sycl/source/detail/kernel_bundle_impl.hpp index 82a14b1ad7a01..7c1afc1634237 100644 --- a/sycl/source/detail/kernel_bundle_impl.hpp +++ b/sycl/source/detail/kernel_bundle_impl.hpp @@ -25,6 +25,7 @@ #include #include #include +#include #include #include "split_string.hpp" @@ -523,7 +524,7 @@ class kernel_bundle_impl { // Determine IDs of all device globals referenced by this bundle's // kernels. These IDs are also prefixed. - std::set DeviceGlobalIDSet; + std::unordered_set DeviceGlobalIDSet; std::vector DeviceGlobalIDVec; std::vector DeviceGlobalNames; for (const auto &RawImg : PM.getRawDeviceImages(KernelIDs)) {