Skip to content

Commit af6ca57

Browse files
committed
Patch up warnings from graph_impl.hpp
1 parent 23f1d3a commit af6ca57

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

sycl/source/detail/graph_impl.hpp

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -242,6 +242,10 @@ class node_impl : public std::enable_shared_from_this<node_impl> {
242242
return createCGCopy<sycl::detail::CGFillUSM>();
243243
case sycl::detail::CGType::PrefetchUSM:
244244
return createCGCopy<sycl::detail::CGPrefetchUSM>();
245+
case sycl::detail::CGType::PrefetchUSMExpD2H:
246+
throw sycl::exception(
247+
sycl::make_error_code(errc::feature_not_supported),
248+
"Prefetch from device to host is currently not supported by SYCL Graph extension.");
245249
case sycl::detail::CGType::AdviseUSM:
246250
return createCGCopy<sycl::detail::CGAdviseUSM>();
247251
case sycl::detail::CGType::Copy2DUSM:

0 commit comments

Comments
 (0)