Skip to content

Commit

Permalink
Fix SYCL clustering test after acts-project#605
Browse files Browse the repository at this point in the history
This is the SYCL equivalent of acts-project#614.
  • Loading branch information
stephenswat committed Jun 19, 2024
1 parent d4cad96 commit 6f3a268
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 6f3a268

Please sign in to comment.