Skip to content

Commit

Permalink
Merge pull request #618 from stephenswat/fix/sycl_clustering_test
Browse files Browse the repository at this point in the history
Fix SYCL clustering test after #605
  • Loading branch information
stephenswat authored Jun 19, 2024
2 parents d4cad96 + 6f3a268 commit eae634a
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions tests/sycl/test_clusterization.sycl
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ auto handle_async_error = [](::sycl::exception_list elist) {
}
};

TEST(clusterization, sycl) {
TEST(SYCLClustering, SingleModule) {

// Memory resource used by the EDM.
vecmem::sycl::shared_memory_resource shared_mr;
Expand Down Expand Up @@ -76,9 +76,10 @@ TEST(clusterization, sycl) {
test.insert(measurements[1]);

std::set<measurement> ref;
ref.insert({{2.f, 2.f}, {0.75, 0.0833333}, detray::geometry::barcode{0u}});
ref.insert(
{{6.f, 5.f}, {0.483333, 0.483333}, detray::geometry::barcode{0u}});
{{2.5f, 2.5f}, {0.75, 0.0833333}, detray::geometry::barcode{0u}});
ref.insert(
{{6.5f, 5.5f}, {0.483333, 0.483333}, detray::geometry::barcode{0u}});

EXPECT_EQ(test, ref);
}

0 comments on commit eae634a

Please sign in to comment.