Skip to content

Commit 4bbf39f

Browse files
authored
Merge pull request #1314 from daltria/AlpakaFix
Fix swapped arguments in the Alpaka configuration
2 parents a20dc9f + 91f666f commit 4bbf39f

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

device/alpaka/src/clusterization/measurement_sorting_algorithm.cpp

100644100755
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,7 @@ measurement_sorting_algorithm::operator()(
101101
static constexpr unsigned int BLOCK_SIZE = 256;
102102
const unsigned int n_blocks =
103103
(measurements_view.capacity() + BLOCK_SIZE - 1) / BLOCK_SIZE;
104-
auto workDiv = makeWorkDiv<Acc>(BLOCK_SIZE, n_blocks);
104+
auto workDiv = makeWorkDiv<Acc>(n_blocks, BLOCK_SIZE);
105105
::alpaka::exec<Acc>(queue, workDiv, kernels::fill_sorted_measurements{},
106106
measurements_view, vecmem::get_data(result),
107107
vecmem::get_data(indices));

0 commit comments

Comments
 (0)