Skip to content

Commit 95c3fc7

Browse files
test/parallel_api/ranges/std_ranges_test.h - fix compile : ‘__is_hetero_execution_policy’ is not a member of ‘oneapi::dpl::__internal’
1 parent 6206749 commit 95c3fc7

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

test/parallel_api/ranges/std_ranges_test.h

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,10 @@
2626

2727
#if _ENABLE_STD_RANGES_TESTING
2828

29+
# if TEST_DPCPP_BACKEND_PRESENT
30+
# include "oneapi/dpl/pstl/hetero/dpcpp/execution_sycl_defs.h"
31+
# endif
32+
2933
static_assert(ONEDPL_HAS_RANGE_ALGORITHMS >= 202509L);
3034

3135
#if TEST_CPP20_SPAN_PRESENT

0 commit comments

Comments
 (0)