Skip to content

Commit da4a423

Browse files
committed
Fix SYCL clustering test after acts-project#605
This is the SYCL equivalent of acts-project#614.
1 parent 7cd882e commit da4a423

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

tests/sycl/test_clusterization.sycl

+4-3
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ auto handle_async_error = [](::sycl::exception_list elist) {
3030
}
3131
};
3232

33-
TEST(clusterization, sycl) {
33+
TEST(SYCLClustering, SingleModule) {
3434

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

7878
std::set<measurement> ref;
79-
ref.insert({{2.f, 2.f}, {0.75, 0.0833333}, detray::geometry::barcode{0u}});
8079
ref.insert(
81-
{{6.f, 5.f}, {0.483333, 0.483333}, detray::geometry::barcode{0u}});
80+
{{2.5f, 2.5f}, {0.75, 0.0833333}, detray::geometry::barcode{0u}});
81+
ref.insert(
82+
{{6.5f, 5.5f}, {0.483333, 0.483333}, detray::geometry::barcode{0u}});
8283

8384
EXPECT_EQ(test, ref);
8485
}

0 commit comments

Comments
 (0)