Skip to content

Commit 66a6307

Browse files
committed
Fix Pipe unit test to be able access private handler function
1 parent 873b385 commit 66a6307

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

sycl/include/sycl/handler.hpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -86,6 +86,7 @@ class __copyAcc2Acc;
8686

8787
// For unit testing purposes
8888
class MockHandler;
89+
class PipeTest_Basic_Test;
8990

9091
namespace sycl {
9192
__SYCL_INLINE_VER_NAMESPACE(_V1) {
@@ -2900,6 +2901,7 @@ class __SYCL_EXPORT handler {
29002901
template <class _name, class _dataT, int32_t _min_capacity,
29012902
class _propertiesT, class>
29022903
friend class ext::intel::experimental::pipe;
2904+
friend class ::PipeTest_Basic_Test;
29032905

29042906
/// Read from a host pipe given a host address and
29052907
/// \param Name name of the host pipe to be passed into lower level runtime

0 commit comments

Comments
 (0)