diff --git a/sycl/include/sycl/ext/oneapi/experimental/graph.hpp b/sycl/include/sycl/ext/oneapi/experimental/graph.hpp index 8cef9fa1be9d4..78a98be346c10 100644 --- a/sycl/include/sycl/ext/oneapi/experimental/graph.hpp +++ b/sycl/include/sycl/ext/oneapi/experimental/graph.hpp @@ -574,8 +574,7 @@ struct __SYCL_EXPORT }; template -struct __SYCL_EXPORT - hash> { +struct hash> { size_t operator()(const sycl::ext::oneapi::experimental::command_graph &Graph) const { auto ID = sycl::detail::getSyclObjImpl(Graph)->getID(); @@ -584,8 +583,7 @@ struct __SYCL_EXPORT }; template -struct __SYCL_EXPORT - hash> { +struct hash> { size_t operator()(const sycl::ext::oneapi::experimental::dynamic_parameter &DynamicParam) const {