Skip to content

Commit 8b9d210

Browse files
[SYCL] Remove sycl_ext_oneapi_group_algorithms (#9502)
Removed tests have SYCL 2020 versions in separate files under test-e2e/GroupAlgorithm.
1 parent fb4881a commit 8b9d210

File tree

18 files changed

+31
-1398
lines changed

18 files changed

+31
-1398
lines changed

sycl/include/sycl/ext/oneapi/group_algorithm.hpp

Lines changed: 0 additions & 548 deletions
This file was deleted.

sycl/include/sycl/sycl.hpp

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,6 @@
7979
#include <sycl/ext/oneapi/experimental/opportunistic_group.hpp>
8080
#include <sycl/ext/oneapi/experimental/tangle_group.hpp>
8181
#include <sycl/ext/oneapi/filter_selector.hpp>
82-
#include <sycl/ext/oneapi/group_algorithm.hpp>
8382
#include <sycl/ext/oneapi/kernel_properties/properties.hpp>
8483
#include <sycl/ext/oneapi/matrix/matrix.hpp>
8584
#include <sycl/ext/oneapi/owner_less.hpp>

sycl/test-e2e/GroupAlgorithm/all_of.cpp

Lines changed: 0 additions & 71 deletions
This file was deleted.

sycl/test-e2e/GroupAlgorithm/any_of.cpp

Lines changed: 0 additions & 73 deletions
This file was deleted.

sycl/test-e2e/GroupAlgorithm/back_to_back_collectives.cpp

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,8 @@
55
#include <numeric>
66
#include <sycl/sycl.hpp>
77
#include <vector>
8+
89
using namespace sycl;
9-
using namespace sycl::ext::oneapi;
1010

1111
class back_to_back;
1212

@@ -42,9 +42,9 @@ int main() {
4242
auto g = it.get_group();
4343
// Loop to increase number of back-to-back calls
4444
for (int r = 0; r < 10; ++r) {
45-
Sum[i] = reduce(g, Input[i], sycl::plus<>());
46-
EScan[i] = exclusive_scan(g, Input[i], sycl::plus<>());
47-
IScan[i] = inclusive_scan(g, Input[i], sycl::plus<>());
45+
Sum[i] = reduce_over_group(g, Input[i], sycl::plus<>());
46+
EScan[i] = exclusive_scan_over_group(g, Input[i], sycl::plus<>());
47+
IScan[i] = inclusive_scan_over_group(g, Input[i], sycl::plus<>());
4848
}
4949
});
5050
});
@@ -60,6 +60,9 @@ int main() {
6060
for (int i = 0; i < N; ++i) {
6161
passed &= (sum == Sum[i]);
6262
}
63+
64+
assert(passed);
65+
6366
std::cout << "Test passed." << std::endl;
6467
return 0;
6568
}

sycl/test-e2e/GroupAlgorithm/broadcast.cpp

Lines changed: 0 additions & 96 deletions
This file was deleted.

0 commit comments

Comments
 (0)