![]() |
Stan Math Library
5.1.0
Automatic Differentiation
|
| __kernel void stan::math::opencl_kernels::merge_step | ( | __global SCAL * | output, |
| __global SCAL * | input, | ||
| int | run_len, | ||
| int | size, | ||
| int | tasks | ||
| ) |
Merges sorted runs into longer sorted runs.
| [out] | output | result |
| input | input data | |
| run_len | lengths of sorted runs in the input | |
| size | size of the input and output | |
| tasks | number of merges that need to be executed - same as the number of sorted runs in the output |
Definition at line 83 of file mergesort.hpp.