Skip to content

Commit 9b1fc15

Browse files
committed
Made print_graph just inline
1 parent 0df8a45 commit 9b1fc15

File tree

2 files changed

+7
-7
lines changed

2 files changed

+7
-7
lines changed

sycl/include/sycl/ext/oneapi/experimental/graph/modifiable_graph.hpp

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -210,6 +210,13 @@ class __SYCL_EXPORT modifiable_command_graph
210210
static void checkNodePropertiesAndThrow(const property_list &Properties);
211211
};
212212

213+
#ifndef ___INTEL_PREVIEW_BREAKING_CHANGES
214+
inline void modifiable_command_graph::print_graph(const std::string path,
215+
bool verbose) const {
216+
print_graph(sycl::detail::string_view{path}, verbose);
217+
}
218+
#endif
219+
213220
} // namespace detail
214221
} // namespace experimental
215222
} // namespace oneapi

sycl/source/detail/graph/graph_impl.cpp

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -2101,13 +2101,6 @@ void modifiable_command_graph::checkNodePropertiesAndThrow(
21012101
Properties, CheckDataLessProperties, CheckPropertiesWithData);
21022102
}
21032103

2104-
#ifndef ___INTEL_PREVIEW_BREAKING_CHANGES
2105-
void modifiable_command_graph::print_graph(const std::string path,
2106-
bool verbose) const {
2107-
print_graph(sycl::detail::string_view{path}, verbose);
2108-
}
2109-
#endif
2110-
21112104
executable_command_graph::executable_command_graph(
21122105
const std::shared_ptr<detail::graph_impl> &Graph, const sycl::context &Ctx,
21132106
const property_list &PropList)

0 commit comments

Comments
 (0)