File tree Expand file tree Collapse file tree 2 files changed +9
-13
lines changed
include/sycl/ext/oneapi/experimental/graph Expand file tree Collapse file tree 2 files changed +9
-13
lines changed Original file line number Diff line number Diff line change @@ -148,19 +148,7 @@ class __SYCL_EXPORT modifiable_command_graph
148
148
print_graph (sycl::detail::string_view{path}, verbose);
149
149
}
150
150
#else
151
- #ifdef __SYCL_GRAPH_IMPL_CPP
152
- // Magic combination found by trial and error:
153
- __SYCL_EXPORT
154
- #if _WIN32
155
- inline
156
- #endif
157
- #else
158
- inline
159
- #endif
160
- void
161
- print_graph (const std::string path, bool verbose = false ) const {
162
- print_graph (sycl::detail::string_view{path}, verbose);
163
- }
151
+ void print_graph (const std::string path, bool verbose = false ) const ;
164
152
#endif
165
153
166
154
// / Get a list of all nodes contained in this graph.
@@ -223,6 +211,7 @@ class __SYCL_EXPORT modifiable_command_graph
223
211
224
212
static void checkNodePropertiesAndThrow (const property_list &Properties);
225
213
};
214
+
226
215
} // namespace detail
227
216
} // namespace experimental
228
217
} // namespace oneapi
Original file line number Diff line number Diff line change @@ -2100,6 +2100,13 @@ void modifiable_command_graph::checkNodePropertiesAndThrow(
2100
2100
Properties, CheckDataLessProperties, CheckPropertiesWithData);
2101
2101
}
2102
2102
2103
+ #ifndef ___INTEL_PREVIEW_BREAKING_CHANGES
2104
+ void modifiable_command_graph::print_graph (const std::string path,
2105
+ bool verbose) const {
2106
+ print_graph (sycl::detail::string_view{path}, verbose);
2107
+ }
2108
+ #endif
2109
+
2103
2110
executable_command_graph::executable_command_graph (
2104
2111
const std::shared_ptr<detail::graph_impl> &Graph, const sycl::context &Ctx,
2105
2112
const property_list &PropList)
You can’t perform that action at this time.
0 commit comments