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

Enable and fix multi_ptr deduction_guides test #702

Merged
merged 2 commits into from
Jun 21, 2023
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
9 changes: 3 additions & 6 deletions tests/multi_ptr/multi_ptr_deduction_guides.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ class check_multi_ptr_deduction {
else
acc_t(r, cgh);
auto acc_res = buf_res.get_access(cgh);
cgh.single_task([=] {
cgh.parallel_for(sycl::nd_range<1>({1}, {1}), [=](auto item) {
auto mptr = multi_ptr(_accessor);
acc_res[0] = std::is_same_v<decltype(mptr),
multi_ptr<ElementType, accessor_space,
Expand All @@ -103,11 +103,8 @@ class check_multi_ptr_deduction {
}
};

// FIXME: re-enable when deduction guide for read is implemented
// Issue link https://github.com/intel/llvm/issues/9692
DISABLED_FOR_TEST_CASE(DPCPP)
("multi_ptr deduction guides", "[test_multi_ptr]")({
TEST_CASE("multi_ptr deduction guides", "[test_multi_ptr]") {
for_all_types<check_multi_ptr_deduction>(deduction::vector_types);
for_all_types<check_multi_ptr_deduction>(deduction::scalar_types);
});
}
} // namespace multi_ptr_deduction_guides