Commit 923b9c5
committed
test/support/utils_sycl_defs.h - fix compile error: incomplete type 'TestUtils::TestPolicyName' named in nested name specifier
Building CXX object test/CMakeFiles/header_inclusion_order_async_0.pass.dir/general/header_inclusion_order_async_0.pass.cpp.o
In file included from /test/general/header_inclusion_order_async_0.pass.cpp:19:
In file included from /test/support/utils.h:47:
In file included from /test/support/utils_test_base.h:25:
In file included from /test/support/utils_invoke.h:25:
/test/support/utils_sycl_defs.h:53:1: error: incomplete type 'TestUtils::TestPolicyName' named in nested name specifier
53 | using new_kernel_name = unique_kernel_name<typename std::decay_t<Policy>::kernel_name, idx>;
| ^~~~~
/test/support/utils_invoke.h:132:39: note: in instantiation of template type alias 'new_kernel_name' requested here
132 | using _NewKernelName = TestUtils::new_kernel_name<PolicyName, call_id>;
| ^
/test/general/header_inclusion_order_async_0.pass.cpp:26:30: note: in instantiation of function template specialization 'TestUtils::get_dpcpp_test_policy<0, TestUtils::TestPolicyName>' requested here
26 | auto policy = TestUtils::get_dpcpp_test_policy();
| ^
/test/support/utils_invoke.h:126:8: note: forward declaration of 'TestUtils::TestPolicyName'
126 | struct TestPolicyName;
| ^
1 error generated.1 parent 323f0f7 commit 923b9c5
1 file changed
+25
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
49 | 49 | | |
50 | 50 | | |
51 | 51 | | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
52 | 76 | | |
53 | | - | |
| 77 | + | |
54 | 78 | | |
55 | 79 | | |
56 | 80 | | |
| |||
0 commit comments