File tree Expand file tree Collapse file tree 1 file changed +2
-6
lines changed
sycl/test-e2e/GroupAlgorithm Expand file tree Collapse file tree 1 file changed +2
-6
lines changed Original file line number Diff line number Diff line change @@ -60,10 +60,8 @@ void testQueriesAndProperties() {
6060 check_max_num_work_group_sync (maxWGsWithLimits);
6161}
6262
63- template <typename T> class TestKernel1 {
63+ template <typename T> struct TestKernel1 {
6464 T m_data;
65-
66- public:
6765 TestKernel1 (T &data_) : m_data(data_) {}
6866 void operator ()(sycl::nd_item<1 > it) const {
6967 volatile float X = 1 .0f ;
@@ -113,10 +111,8 @@ void testRootGroup() {
113111 }
114112}
115113
116- template <typename T> class TestKernel2 {
114+ template <typename T> struct TestKernel2 {
117115 T m_testResults;
118-
119- public:
120116 TestKernel2 (T &testResults_) : m_testResults(testResults_) {}
121117 void operator ()(sycl::nd_item<1 > it) const {
122118 const auto root = it.ext_oneapi_get_root_group ();
You can’t perform that action at this time.
0 commit comments