File tree 2 files changed +8
-4
lines changed
2 files changed +8
-4
lines changed Original file line number Diff line number Diff line change 20
20
// Vecmem include(s).
21
21
#include <vecmem/memory/device_atomic_ref.hpp>
22
22
#include <vecmem/utils/sycl/copy.hpp>
23
+ #include <vecmem/utils/sycl/local_accessor.hpp>
23
24
24
25
// System include(s).
25
26
#include <algorithm>
@@ -117,8 +118,8 @@ clusterization_algorithm::output_type clusterization_algorithm::operator()(
117
118
// Run ccl kernel
118
119
details::get_queue(m_queue)
119
120
.submit([&](::sycl::handler& h) {
120
- ::sycl::local_accessor<unsigned int> shared_uint(3, h);
121
- ::sycl::local_accessor<index_t> shared_idx(
121
+ vecmem ::sycl::local_accessor<unsigned int> shared_uint(3, h);
122
+ vecmem ::sycl::local_accessor<index_t> shared_idx(
122
123
2 * max_cells_per_partition, h);
123
124
124
125
h.parallel_for<kernels::ccl_kernel>(
Original file line number Diff line number Diff line change 31
31
#include "traccc/seeding/device/select_seeds.hpp"
32
32
#include "traccc/seeding/device/update_triplet_weights.hpp"
33
33
34
+ // VecMem include(s).
35
+ #include <vecmem/utils/sycl/local_accessor.hpp>
36
+
34
37
namespace traccc::sycl {
35
38
namespace kernels {
36
39
@@ -294,7 +297,7 @@ seed_finding::output_type seed_finding::operator()(
294
297
details::get_queue(m_queue).submit([&](::sycl::handler& h) {
295
298
// Array for temporary storage of triplet weights for comparing
296
299
// within kernel
297
- ::sycl::local_accessor<scalar> local_mem(
300
+ vecmem ::sycl::local_accessor<scalar> local_mem(
298
301
m_seedfilter_config.compatSeedLimit * weightUpdatingLocalSize,
299
302
h);
300
303
@@ -341,7 +344,7 @@ seed_finding::output_type seed_finding::operator()(
341
344
.submit([&](::sycl::handler& h) {
342
345
// Array for temporary storage of triplets for comparing within
343
346
// kernel
344
- ::sycl::local_accessor<triplet> local_mem(
347
+ vecmem ::sycl::local_accessor<triplet> local_mem(
345
348
m_seedfilter_config.max_triplets_per_spM *
346
349
seedSelectingLocalSize,
347
350
h);
You can’t perform that action at this time.
0 commit comments