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 generic pointer aliases tests in DPCPP #988

Merged
merged 2 commits into from
Nov 25, 2024
Merged
Show file tree
Hide file tree
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
4 changes: 2 additions & 2 deletions tests/multi_ptr/multi_ptr_explicit_conversions.h
Original file line number Diff line number Diff line change
Expand Up @@ -215,7 +215,7 @@ void check_generic_pointer_aliases(const std::string& type_name) {
.with("T", type_name)
.create()) {
// FIXME: Enable when aliases defined in implementations.
#if !SYCL_CTS_COMPILING_WITH_HIPSYCL && !SYCL_CTS_COMPILING_WITH_DPCPP
#if !SYCL_CTS_COMPILING_WITH_HIPSYCL
{
INFO("decorated_generic_ptr");
STATIC_CHECK(
Expand All @@ -232,7 +232,7 @@ void check_generic_pointer_aliases(const std::string& type_name) {
sycl::multi_ptr<T, sycl::access::address_space::generic_space,
sycl::access::decorated::no>>);
}
#endif //! SYCL_CTS_COMPILING_WITH_HIPSYCL && !SYCL_CTS_COMPILING_WITH_DPCPP
#endif //! SYCL_CTS_COMPILING_WITH_HIPSYCL
}
}

Expand Down
2 changes: 1 addition & 1 deletion tests/multi_ptr/multi_ptr_explicit_conversions_core.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ TEST_CASE("multi_ptr explicit conversions. Core types", "[multi_ptr]") {
for_all_types<check_multi_ptr_explicit_convert_for_type>(composite_types);
}

DISABLED_FOR_TEST_CASE(DPCPP, hipSYCL)
DISABLED_FOR_TEST_CASE(hipSYCL)
("generic_ptr alias. Core types", "[multi_ptr]")({
using namespace multi_ptr_explicit_conversions;
auto types = multi_ptr_common::get_types();
Expand Down
2 changes: 1 addition & 1 deletion tests/multi_ptr/multi_ptr_explicit_conversions_fp16.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ TEST_CASE("multi_ptr explicit conversions. fp16 type", "[multi_ptr]") {
check_multi_ptr_explicit_convert_for_type<sycl::half>{}("sycl::half");
}

DISABLED_FOR_TEST_CASE(DPCPP, hipSYCL)
DISABLED_FOR_TEST_CASE(hipSYCL)
("generic_ptr alias. fp16 type", "[multi_ptr]")({
using namespace multi_ptr_explicit_conversions;
check_generic_ptr_aliases_for_type<sycl::half>{}("sycl::half");
Expand Down
2 changes: 1 addition & 1 deletion tests/multi_ptr/multi_ptr_explicit_conversions_fp64.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ TEST_CASE("multi_ptr explicit conversions. fp64 type", "[multi_ptr]") {
check_multi_ptr_explicit_convert_for_type<double>{}("double");
}

DISABLED_FOR_TEST_CASE(DPCPP, hipSYCL)
DISABLED_FOR_TEST_CASE(hipSYCL)
("generic_ptr alias. fp64 type", "[multi_ptr]")({
using namespace multi_ptr_explicit_conversions;
check_generic_ptr_aliases_for_type<double>{}("double");
Expand Down
Loading