diff --git a/device/sycl/src/clusterization/clusterization_algorithm.sycl b/device/sycl/src/clusterization/clusterization_algorithm.sycl index 4c867ee9a0..a5363ca78e 100644 --- a/device/sycl/src/clusterization/clusterization_algorithm.sycl +++ b/device/sycl/src/clusterization/clusterization_algorithm.sycl @@ -20,6 +20,7 @@ // Vecmem include(s). #include #include +#include // System include(s). #include @@ -117,8 +118,8 @@ clusterization_algorithm::output_type clusterization_algorithm::operator()( // Run ccl kernel details::get_queue(m_queue) .submit([&](::sycl::handler& h) { - ::sycl::local_accessor shared_uint(3, h); - ::sycl::local_accessor shared_idx( + vecmem::sycl::local_accessor shared_uint(3, h); + vecmem::sycl::local_accessor shared_idx( 2 * max_cells_per_partition, h); h.parallel_for( diff --git a/device/sycl/src/seeding/seed_finding.sycl b/device/sycl/src/seeding/seed_finding.sycl index ef3a8cb401..043fab56e7 100644 --- a/device/sycl/src/seeding/seed_finding.sycl +++ b/device/sycl/src/seeding/seed_finding.sycl @@ -31,6 +31,9 @@ #include "traccc/seeding/device/select_seeds.hpp" #include "traccc/seeding/device/update_triplet_weights.hpp" +// VecMem include(s). +#include + namespace traccc::sycl { namespace kernels { @@ -294,7 +297,7 @@ seed_finding::output_type seed_finding::operator()( details::get_queue(m_queue).submit([&](::sycl::handler& h) { // Array for temporary storage of triplet weights for comparing // within kernel - ::sycl::local_accessor local_mem( + vecmem::sycl::local_accessor local_mem( m_seedfilter_config.compatSeedLimit * weightUpdatingLocalSize, h); @@ -341,7 +344,7 @@ seed_finding::output_type seed_finding::operator()( .submit([&](::sycl::handler& h) { // Array for temporary storage of triplets for comparing within // kernel - ::sycl::local_accessor local_mem( + vecmem::sycl::local_accessor local_mem( m_seedfilter_config.max_triplets_per_spM * seedSelectingLocalSize, h);