Skip to content

Commit

Permalink
Extend and fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
victor-eds committed Sep 11, 2024
1 parent ddaf1a0 commit cd6bc16
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 0 deletions.
1 change: 1 addition & 0 deletions tests/multi_ptr/multi_ptr_explicit_conversions_core.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@

#if SYCL_CTS_ENABLE_FEATURE_SET_FULL

#include "../common/disabled_for_test_case.h"
#include "../common/type_coverage.h"
#include "multi_ptr_common.h"
#include "multi_ptr_explicit_conversions.h"
Expand Down
2 changes: 2 additions & 0 deletions tests/multi_ptr/multi_ptr_explicit_conversions_fp16.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,8 @@

#include "multi_ptr_explicit_conversions.h"

#include "../common/disabled_for_test_case.h"

namespace multi_ptr_explicit_conversions_fp16 {

TEST_CASE("multi_ptr explicit conversions. fp16 type", "[multi_ptr]") {
Expand Down
8 changes: 8 additions & 0 deletions tests/multi_ptr/multi_ptr_explicit_conversions_fp64.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,8 @@

#include "multi_ptr_explicit_conversions.h"

#include "../common/disabled_for_test_case.h"

namespace multi_ptr_explicit_conversions_fp64 {

TEST_CASE("multi_ptr explicit conversions. fp64 type", "[multi_ptr]") {
Expand All @@ -39,6 +41,12 @@ 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)
("generic_ptr alias. fp64 type", "[multi_ptr]")({
using namespace multi_ptr_explicit_conversions;
check_generic_ptr_aliases_for_type<double>{}("double");
});

} // namespace multi_ptr_explicit_conversions_fp64

#endif // SYCL_CTS_ENABLE_FEATURE_SET_FULL

0 comments on commit cd6bc16

Please sign in to comment.