File tree Expand file tree Collapse file tree 1 file changed +5
-2
lines changed
sycl/test-e2e/GroupAlgorithm Expand file tree Collapse file tree 1 file changed +5
-2
lines changed Original file line number Diff line number Diff line change @@ -104,8 +104,8 @@ void testRootGroup() {
104104 }
105105}
106106
107- template <typename T> struct RootGroupFunctionsKernel {
108- T m_testResults;
107+ template <typename T> class RootGroupFunctionsKernel {
108+ public:
109109 RootGroupFunctionsKernel (T &testResults_) : m_testResults(testResults_) {}
110110 void operator ()(sycl::nd_item<1 > it) const {
111111 const auto root = it.ext_oneapi_get_root_group ();
@@ -128,6 +128,9 @@ template <typename T> struct RootGroupFunctionsKernel {
128128 return sycl::ext::oneapi::experimental::properties{
129129 sycl::ext::oneapi::experimental::use_root_sync};
130130 }
131+
132+ private:
133+ T m_testResults;
131134};
132135
133136void testRootGroupFunctions () {
You can’t perform that action at this time.
0 commit comments