Skip to content

Commit ae03314

Browse files
committed
Testing
1 parent d245734 commit ae03314

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

include/oneapi/dpl/pstl/hetero/dpcpp/parallel_backend_sycl_utils.h

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -592,15 +592,18 @@ struct __result_storage
592592
__n = __sz;
593593
if (__kind == sycl::usm::alloc::host)
594594
{
595+
assert(false && "sycl::usm::alloc::host");
595596
std::copy_n(__result_buf.get(), __n, __dst);
596597
}
597598
else if (__kind == sycl::usm::alloc::device)
598599
{
600+
assert(false && "sycl::usm::alloc::device");
599601
sycl::queue& __q = __result_buf.get_deleter().__q;
600602
__q.memcpy(__dst, __result_buf.get(), __n * sizeof(_T)).wait();
601603
}
602604
else
603605
{
606+
assert(false && "sycl::usm::alloc::unknown");
604607
std::copy_n(__sycl_buf.get_host_access(sycl::read_only).get_pointer(), __n, __dst);
605608
}
606609
}

0 commit comments

Comments
 (0)