Skip to content

Commit

Permalink
[test] Marking Num device copyable for partial_sort_copy.pass (#1788)
Browse files Browse the repository at this point in the history
Signed-off-by: Dan Hoeflinger <[email protected]>
  • Loading branch information
danhoeflinger authored Aug 22, 2024
1 parent c4c751e commit a40ef0d
Showing 1 changed file with 7 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,13 @@ struct Num
}
};

#if TEST_DPCPP_BACKEND_PRESENT
template <typename _T>
struct sycl::is_device_copyable<Num<_T>> : sycl::is_device_copyable<_T>
{
};
#endif //TEST_DPCPP_BACKEND_PRESENT

template <typename Type>
struct test_one_policy
{
Expand Down

0 comments on commit a40ef0d

Please sign in to comment.