Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove get_child_group tests #894

Merged
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
20 changes: 0 additions & 20 deletions tests/extension/oneapi_root_group/root_group.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -55,8 +55,6 @@ static void check_root_group_api() {
get_group_linear_range,
get_local_linear_range,
leader,
get_child_group___root_group,
get_child_group___group,
COUNT,
};
};
Expand Down Expand Up @@ -87,11 +85,6 @@ static void check_root_group_api() {
results[checks::get_local_linear_range] =
root.get_local_linear_range() == root.get_local_range().size();
results[checks::leader] = root.leader() == (root.get_local_id() == 0);

auto g = sycl::ext::oneapi::experimental::get_child_group(root);
auto sg = sycl::ext::oneapi::experimental::get_child_group(g);
results[checks::get_child_group___root_group] = g == it.get_group();
results[checks::get_child_group___group] = sg == it.get_sub_group();
};
if constexpr (UseRootSync) {
cgh.parallel_for<KernelName>(nd_range, props, kernel);
Expand Down Expand Up @@ -173,19 +166,6 @@ static void check_root_group_api() {
// leader
CHECK(std::is_same_v<decltype(std::declval<rg>().leader()), bool>);
CHECK(results[checks::leader]);

using sycl::ext::oneapi::experimental::get_child_group;

// get_child_group(root_group)
CHECK(std::is_same_v<decltype(get_child_group(std::declval<rg>())),
sycl::group<Dimensions>>);
CHECK(results[checks::get_child_group___root_group]);

// get_child_group(group)
CHECK(std::is_same_v<decltype(get_child_group(
std::declval<sycl::group<Dimensions>>())),
sycl::sub_group>);
CHECK(results[checks::get_child_group___group]);
}

template <typename KernelName, size_t... Dims>
Expand Down
Loading