File tree Expand file tree Collapse file tree 1 file changed +7
-6
lines changed
sycl/include/sycl/ext/oneapi/experimental Expand file tree Collapse file tree 1 file changed +7
-6
lines changed Original file line number Diff line number Diff line change @@ -340,7 +340,14 @@ class __SYCL_EXPORT modifiable_command_graph
340340 // / @param path The path to write the DOT file to.
341341 // / @param verbose If true, print additional information about the nodes such
342342 // / as kernel args or memory access where applicable.
343+ #ifdef ___INTEL_PREVIEW_BREAKING_CHANGES
344+ void modifiable_command_graph::print_graph (const std::string path,
345+ bool verbose) const {
346+ print_graph (sycl::detail::string_view{path}, verbose);
347+ }
348+ #else
343349 void print_graph (const std::string path, bool verbose = false ) const ;
350+ #endif
344351
345352 // / Get a list of all nodes contained in this graph.
346353 std::vector<node> get_nodes () const ;
@@ -377,13 +384,7 @@ class __SYCL_EXPORT modifiable_command_graph
377384 // / added as dependencies.
378385 void addGraphLeafDependencies (node Node);
379386
380- #ifdef ___INTEL_PREVIEW_BREAKING_CHANGES
381- void print_graph (sycl::detail::string_view path, bool verbose = false ) const {
382- print_graph (sycl::detail::string_view{path}, verbose);
383- }
384- #else
385387 void print_graph (sycl::detail::string_view path, bool verbose = false ) const ;
386- #endif
387388
388389 template <class Obj >
389390 friend const decltype (Obj::impl) &
You can’t perform that action at this time.
0 commit comments